{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 309,
   "metadata": {},
   "outputs": [],
   "source": [
    "import numpy as np\n",
    "import pandas as pd\n",
    "from datetime import datetime as dt\n",
    "import itertools"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 330,
   "metadata": {},
   "outputs": [],
   "source": [
    "loc=\"datasets\\\\\"\n",
    "# raw_data_1=pd.read_csv(loc+\"2017-18.csv\")\n",
    "raw_data_2=pd.read_csv(loc+\"2016-17.csv\")\n",
    "raw_data_3=pd.read_csv(loc+\"2015-16.csv\")\n",
    "raw_data_4=pd.read_csv(loc+\"2014-15.csv\")\n",
    "raw_data_5=pd.read_csv(loc+\"2013-14.csv\")\n",
    "raw_data_6=pd.read_csv(loc+\"2012-13.csv\")\n",
    "raw_data_7=pd.read_csv(loc+\"2011-12.csv\")\n",
    "raw_data_8=pd.read_csv(loc+\"2010-11.csv\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 331,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "65\n",
      "65\n",
      "68\n",
      "68\n",
      "74\n",
      "71\n",
      "71\n",
      "65\n"
     ]
    }
   ],
   "source": [
    "# print(len(raw_data_1.columns))\n",
    "print(len(raw_data_2.columns))\n",
    "print(len(raw_data_3.columns))\n",
    "print(len(raw_data_4.columns))\n",
    "print(len(raw_data_5.columns))\n",
    "print(len(raw_data_6.columns))\n",
    "print(len(raw_data_7.columns))\n",
    "print(len(raw_data_8.columns))\n",
    "\n",
    "# print(sum(raw_data_1.columns==raw_data_2.columns))\n",
    "# print(sum(raw_data_1.columns==raw_data_3.columns))\n",
    "print(sum(raw_data_3.columns==raw_data_2.columns))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 300,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "dtype('O')"
      ]
     },
     "execution_count": 300,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 332,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "<class 'str'>\n",
      "16/08/14\n",
      "<class 'str'>\n",
      "16/08/14\n",
      "<class 'str'>\n",
      "16/08/14\n",
      "<class 'str'>\n",
      "16/08/14\n",
      "<class 'str'>\n",
      "16/08/14\n",
      "<class 'str'>\n",
      "16/08/14\n",
      "<class 'str'>\n",
      "16/08/14\n",
      "<class 'str'>\n",
      "17/08/14\n",
      "<class 'str'>\n",
      "17/08/14\n",
      "<class 'str'>\n",
      "18/08/14\n",
      "<class 'str'>\n",
      "23/08/14\n",
      "<class 'str'>\n",
      "23/08/14\n",
      "<class 'str'>\n",
      "23/08/14\n",
      "<class 'str'>\n",
      "23/08/14\n",
      "<class 'str'>\n",
      "23/08/14\n",
      "<class 'str'>\n",
      "23/08/14\n",
      "<class 'str'>\n",
      "24/08/14\n",
      "<class 'str'>\n",
      "24/08/14\n",
      "<class 'str'>\n",
      "24/08/14\n",
      "<class 'str'>\n",
      "25/08/14\n",
      "<class 'str'>\n",
      "30/08/14\n",
      "<class 'str'>\n",
      "30/08/14\n",
      "<class 'str'>\n",
      "30/08/14\n",
      "<class 'str'>\n",
      "30/08/14\n",
      "<class 'str'>\n",
      "30/08/14\n",
      "<class 'str'>\n",
      "30/08/14\n",
      "<class 'str'>\n",
      "30/08/14\n",
      "<class 'str'>\n",
      "31/08/14\n",
      "<class 'str'>\n",
      "31/08/14\n",
      "<class 'str'>\n",
      "31/08/14\n",
      "<class 'str'>\n",
      "13/09/14\n",
      "<class 'str'>\n",
      "13/09/14\n",
      "<class 'str'>\n",
      "13/09/14\n",
      "<class 'str'>\n",
      "13/09/14\n",
      "<class 'str'>\n",
      "13/09/14\n",
      "<class 'str'>\n",
      "13/09/14\n",
      "<class 'str'>\n",
      "13/09/14\n",
      "<class 'str'>\n",
      "13/09/14\n",
      "<class 'str'>\n",
      "14/09/14\n",
      "<class 'str'>\n",
      "15/09/14\n",
      "<class 'str'>\n",
      "20/09/14\n",
      "<class 'str'>\n",
      "20/09/14\n",
      "<class 'str'>\n",
      "20/09/14\n",
      "<class 'str'>\n",
      "20/09/14\n",
      "<class 'str'>\n",
      "20/09/14\n",
      "<class 'str'>\n",
      "20/09/14\n",
      "<class 'str'>\n",
      "21/09/14\n",
      "<class 'str'>\n",
      "21/09/14\n",
      "<class 'str'>\n",
      "21/09/14\n",
      "<class 'str'>\n",
      "21/09/14\n",
      "<class 'str'>\n",
      "27/09/14\n",
      "<class 'str'>\n",
      "27/09/14\n",
      "<class 'str'>\n",
      "27/09/14\n",
      "<class 'str'>\n",
      "27/09/14\n",
      "<class 'str'>\n",
      "27/09/14\n",
      "<class 'str'>\n",
      "27/09/14\n",
      "<class 'str'>\n",
      "27/09/14\n",
      "<class 'str'>\n",
      "27/09/14\n",
      "<class 'str'>\n",
      "28/09/14\n",
      "<class 'str'>\n",
      "29/09/14\n",
      "<class 'str'>\n",
      "04/10/14\n",
      "<class 'str'>\n",
      "04/10/14\n",
      "<class 'str'>\n",
      "04/10/14\n",
      "<class 'str'>\n",
      "04/10/14\n",
      "<class 'str'>\n",
      "04/10/14\n",
      "<class 'str'>\n",
      "04/10/14\n",
      "<class 'str'>\n",
      "05/10/14\n",
      "<class 'str'>\n",
      "05/10/14\n",
      "<class 'str'>\n",
      "05/10/14\n",
      "<class 'str'>\n",
      "05/10/14\n",
      "<class 'str'>\n",
      "18/10/14\n",
      "<class 'str'>\n",
      "18/10/14\n",
      "<class 'str'>\n",
      "18/10/14\n",
      "<class 'str'>\n",
      "18/10/14\n",
      "<class 'str'>\n",
      "18/10/14\n",
      "<class 'str'>\n",
      "18/10/14\n",
      "<class 'str'>\n",
      "18/10/14\n",
      "<class 'str'>\n",
      "19/10/14\n",
      "<class 'str'>\n",
      "19/10/14\n",
      "<class 'str'>\n",
      "20/10/14\n",
      "<class 'str'>\n",
      "25/10/14\n",
      "<class 'str'>\n",
      "25/10/14\n",
      "<class 'str'>\n",
      "25/10/14\n",
      "<class 'str'>\n",
      "25/10/14\n",
      "<class 'str'>\n",
      "25/10/14\n",
      "<class 'str'>\n",
      "25/10/14\n",
      "<class 'str'>\n",
      "26/10/14\n",
      "<class 'str'>\n",
      "26/10/14\n",
      "<class 'str'>\n",
      "26/10/14\n",
      "<class 'str'>\n",
      "27/10/14\n",
      "<class 'str'>\n",
      "01/11/14\n",
      "<class 'str'>\n",
      "01/11/14\n",
      "<class 'str'>\n",
      "01/11/14\n",
      "<class 'str'>\n",
      "01/11/14\n",
      "<class 'str'>\n",
      "01/11/14\n",
      "<class 'str'>\n",
      "01/11/14\n",
      "<class 'str'>\n",
      "01/11/14\n",
      "<class 'str'>\n",
      "02/11/14\n",
      "<class 'str'>\n",
      "02/11/14\n",
      "<class 'str'>\n",
      "03/11/14\n",
      "<class 'str'>\n",
      "08/11/14\n",
      "<class 'str'>\n",
      "08/11/14\n",
      "<class 'str'>\n",
      "08/11/14\n",
      "<class 'str'>\n",
      "08/11/14\n",
      "<class 'str'>\n",
      "08/11/14\n",
      "<class 'str'>\n",
      "08/11/14\n",
      "<class 'str'>\n",
      "09/11/14\n",
      "<class 'str'>\n",
      "09/11/14\n",
      "<class 'str'>\n",
      "09/11/14\n",
      "<class 'str'>\n",
      "09/11/14\n",
      "<class 'str'>\n",
      "22/11/14\n",
      "<class 'str'>\n",
      "22/11/14\n",
      "<class 'str'>\n",
      "22/11/14\n",
      "<class 'str'>\n",
      "22/11/14\n",
      "<class 'str'>\n",
      "22/11/14\n",
      "<class 'str'>\n",
      "22/11/14\n",
      "<class 'str'>\n",
      "22/11/14\n",
      "<class 'str'>\n",
      "23/11/14\n",
      "<class 'str'>\n",
      "23/11/14\n",
      "<class 'str'>\n",
      "24/11/14\n",
      "<class 'str'>\n",
      "29/11/14\n",
      "<class 'str'>\n",
      "29/11/14\n",
      "<class 'str'>\n",
      "29/11/14\n",
      "<class 'str'>\n",
      "29/11/14\n",
      "<class 'str'>\n",
      "29/11/14\n",
      "<class 'str'>\n",
      "29/11/14\n",
      "<class 'str'>\n",
      "29/11/14\n",
      "<class 'str'>\n",
      "29/11/14\n",
      "<class 'str'>\n",
      "30/11/14\n",
      "<class 'str'>\n",
      "30/11/14\n",
      "<class 'str'>\n",
      "02/12/14\n",
      "<class 'str'>\n",
      "02/12/14\n",
      "<class 'str'>\n",
      "02/12/14\n",
      "<class 'str'>\n",
      "02/12/14\n",
      "<class 'str'>\n",
      "02/12/14\n",
      "<class 'str'>\n",
      "02/12/14\n",
      "<class 'str'>\n",
      "03/12/14\n",
      "<class 'str'>\n",
      "03/12/14\n",
      "<class 'str'>\n",
      "03/12/14\n",
      "<class 'str'>\n",
      "03/12/14\n",
      "<class 'str'>\n",
      "06/12/14\n",
      "<class 'str'>\n",
      "06/12/14\n",
      "<class 'str'>\n",
      "06/12/14\n",
      "<class 'str'>\n",
      "06/12/14\n",
      "<class 'str'>\n",
      "06/12/14\n",
      "<class 'str'>\n",
      "06/12/14\n",
      "<class 'str'>\n",
      "06/12/14\n",
      "<class 'str'>\n",
      "07/12/14\n",
      "<class 'str'>\n",
      "07/12/14\n",
      "<class 'str'>\n",
      "08/12/14\n",
      "<class 'str'>\n",
      "13/12/14\n",
      "<class 'str'>\n",
      "13/12/14\n",
      "<class 'str'>\n",
      "13/12/14\n",
      "<class 'str'>\n",
      "13/12/14\n",
      "<class 'str'>\n",
      "13/12/14\n",
      "<class 'str'>\n",
      "13/12/14\n",
      "<class 'str'>\n",
      "13/12/14\n",
      "<class 'str'>\n",
      "14/12/14\n",
      "<class 'str'>\n",
      "14/12/14\n",
      "<class 'str'>\n",
      "15/12/14\n",
      "<class 'str'>\n",
      "20/12/14\n",
      "<class 'str'>\n",
      "20/12/14\n",
      "<class 'str'>\n",
      "20/12/14\n",
      "<class 'str'>\n",
      "20/12/14\n",
      "<class 'str'>\n",
      "20/12/14\n",
      "<class 'str'>\n",
      "20/12/14\n",
      "<class 'str'>\n",
      "20/12/14\n",
      "<class 'str'>\n",
      "21/12/14\n",
      "<class 'str'>\n",
      "21/12/14\n",
      "<class 'str'>\n",
      "22/12/14\n",
      "<class 'str'>\n",
      "26/12/14\n",
      "<class 'str'>\n",
      "26/12/14\n",
      "<class 'str'>\n",
      "26/12/14\n",
      "<class 'str'>\n",
      "26/12/14\n",
      "<class 'str'>\n",
      "26/12/14\n",
      "<class 'str'>\n",
      "26/12/14\n",
      "<class 'str'>\n",
      "26/12/14\n",
      "<class 'str'>\n",
      "26/12/14\n",
      "<class 'str'>\n",
      "26/12/14\n",
      "<class 'str'>\n",
      "26/12/14\n",
      "<class 'str'>\n",
      "28/12/14\n",
      "<class 'str'>\n",
      "28/12/14\n",
      "<class 'str'>\n",
      "28/12/14\n",
      "<class 'str'>\n",
      "28/12/14\n",
      "<class 'str'>\n",
      "28/12/14\n",
      "<class 'str'>\n",
      "28/12/14\n",
      "<class 'str'>\n",
      "28/12/14\n",
      "<class 'str'>\n",
      "28/12/14\n",
      "<class 'str'>\n",
      "28/12/14\n",
      "<class 'str'>\n",
      "29/12/14\n",
      "<class 'str'>\n",
      "01/01/15\n",
      "<class 'str'>\n",
      "01/01/15\n",
      "<class 'str'>\n",
      "01/01/15\n",
      "<class 'str'>\n",
      "01/01/15\n",
      "<class 'str'>\n",
      "01/01/15\n",
      "<class 'str'>\n",
      "01/01/15\n",
      "<class 'str'>\n",
      "01/01/15\n",
      "<class 'str'>\n",
      "01/01/15\n",
      "<class 'str'>\n",
      "01/01/15\n",
      "<class 'str'>\n",
      "01/01/15\n",
      "<class 'str'>\n",
      "10/01/15\n",
      "<class 'str'>\n",
      "10/01/15\n",
      "<class 'str'>\n",
      "10/01/15\n",
      "<class 'str'>\n",
      "10/01/15\n",
      "<class 'str'>\n",
      "10/01/15\n",
      "<class 'str'>\n",
      "10/01/15\n",
      "<class 'str'>\n",
      "10/01/15\n",
      "<class 'str'>\n",
      "10/01/15\n",
      "<class 'str'>\n",
      "11/01/15\n",
      "<class 'str'>\n",
      "11/01/15\n",
      "<class 'str'>\n",
      "17/01/15\n",
      "<class 'str'>\n",
      "17/01/15\n",
      "<class 'str'>\n",
      "17/01/15\n",
      "<class 'str'>\n",
      "17/01/15\n",
      "<class 'str'>\n",
      "17/01/15\n",
      "<class 'str'>\n",
      "17/01/15\n",
      "<class 'str'>\n",
      "17/01/15\n",
      "<class 'str'>\n",
      "18/01/15\n",
      "<class 'str'>\n",
      "18/01/15\n",
      "<class 'str'>\n",
      "19/01/15\n",
      "<class 'str'>\n",
      "31/01/15\n",
      "<class 'str'>\n",
      "31/01/15\n",
      "<class 'str'>\n",
      "31/01/15\n",
      "<class 'str'>\n",
      "31/01/15\n",
      "<class 'str'>\n",
      "31/01/15\n",
      "<class 'str'>\n",
      "31/01/15\n",
      "<class 'str'>\n",
      "31/01/15\n",
      "<class 'str'>\n",
      "31/01/15\n",
      "<class 'str'>\n",
      "01/02/15\n",
      "<class 'str'>\n",
      "01/02/15\n",
      "<class 'str'>\n",
      "07/02/15\n",
      "<class 'str'>\n",
      "07/02/15\n",
      "<class 'str'>\n",
      "07/02/15\n",
      "<class 'str'>\n",
      "07/02/15\n",
      "<class 'str'>\n",
      "07/02/15\n",
      "<class 'str'>\n",
      "07/02/15\n",
      "<class 'str'>\n",
      "07/02/15\n",
      "<class 'str'>\n",
      "08/02/15\n",
      "<class 'str'>\n",
      "08/02/15\n",
      "<class 'str'>\n",
      "08/02/15\n",
      "<class 'str'>\n",
      "10/02/15\n",
      "<class 'str'>\n",
      "10/02/15\n",
      "<class 'str'>\n",
      "10/02/15\n",
      "<class 'str'>\n",
      "10/02/15\n",
      "<class 'str'>\n",
      "11/02/15\n",
      "<class 'str'>\n",
      "11/02/15\n",
      "<class 'str'>\n",
      "11/02/15\n",
      "<class 'str'>\n",
      "11/02/15\n",
      "<class 'str'>\n",
      "11/02/15\n",
      "<class 'str'>\n",
      "11/02/15\n",
      "<class 'str'>\n",
      "21/02/15\n",
      "<class 'str'>\n",
      "21/02/15\n",
      "<class 'str'>\n",
      "21/02/15\n",
      "<class 'str'>\n",
      "21/02/15\n",
      "<class 'str'>\n",
      "21/02/15\n",
      "<class 'str'>\n",
      "21/02/15\n",
      "<class 'str'>\n",
      "21/02/15\n",
      "<class 'str'>\n",
      "22/02/15\n",
      "<class 'str'>\n",
      "22/02/15\n",
      "<class 'str'>\n",
      "22/02/15\n",
      "<class 'str'>\n",
      "28/02/15\n",
      "<class 'str'>\n",
      "28/02/15\n",
      "<class 'str'>\n",
      "28/02/15\n",
      "<class 'str'>\n",
      "28/02/15\n",
      "<class 'str'>\n",
      "28/02/15\n",
      "<class 'str'>\n",
      "28/02/15\n",
      "<class 'str'>\n",
      "01/03/15\n",
      "<class 'str'>\n",
      "01/03/15\n",
      "<class 'str'>\n",
      "03/03/15\n",
      "<class 'str'>\n",
      "03/03/15\n",
      "<class 'str'>\n",
      "03/03/15\n",
      "<class 'str'>\n",
      "04/03/15\n",
      "<class 'str'>\n",
      "04/03/15\n",
      "<class 'str'>\n",
      "04/03/15\n",
      "<class 'str'>\n",
      "04/03/15\n",
      "<class 'str'>\n",
      "04/03/15\n",
      "<class 'str'>\n",
      "04/03/15\n",
      "<class 'str'>\n",
      "04/03/15\n",
      "<class 'str'>\n",
      "07/03/15\n",
      "<class 'str'>\n",
      "14/03/15\n",
      "<class 'str'>\n",
      "14/03/15\n",
      "<class 'str'>\n",
      "14/03/15\n",
      "<class 'str'>\n",
      "14/03/15\n",
      "<class 'str'>\n",
      "14/03/15\n",
      "<class 'str'>\n",
      "14/03/15\n",
      "<class 'str'>\n",
      "15/03/15\n",
      "<class 'str'>\n",
      "15/03/15\n",
      "<class 'str'>\n",
      "15/03/15\n",
      "<class 'str'>\n",
      "16/03/15\n",
      "<class 'str'>\n",
      "21/03/15\n",
      "<class 'str'>\n",
      "21/03/15\n",
      "<class 'str'>\n",
      "21/03/15\n",
      "<class 'str'>\n",
      "21/03/15\n",
      "<class 'str'>\n",
      "21/03/15\n",
      "<class 'str'>\n",
      "21/03/15\n",
      "<class 'str'>\n",
      "21/03/15\n",
      "<class 'str'>\n",
      "22/03/15\n",
      "<class 'str'>\n",
      "22/03/15\n",
      "<class 'str'>\n",
      "22/03/15\n",
      "<class 'str'>\n",
      "04/04/15\n",
      "<class 'str'>\n",
      "04/04/15\n",
      "<class 'str'>\n",
      "04/04/15\n",
      "<class 'str'>\n",
      "04/04/15\n",
      "<class 'str'>\n",
      "04/04/15\n",
      "<class 'str'>\n",
      "04/04/15\n",
      "<class 'str'>\n",
      "04/04/15\n",
      "<class 'str'>\n",
      "05/04/15\n",
      "<class 'str'>\n",
      "05/04/15\n",
      "<class 'str'>\n",
      "06/04/15\n",
      "<class 'str'>\n",
      "07/04/15\n",
      "<class 'str'>\n",
      "11/04/15\n",
      "<class 'str'>\n",
      "11/04/15\n",
      "<class 'str'>\n",
      "11/04/15\n",
      "<class 'str'>\n",
      "11/04/15\n",
      "<class 'str'>\n",
      "11/04/15\n",
      "<class 'str'>\n",
      "11/04/15\n",
      "<class 'str'>\n",
      "11/04/15\n",
      "<class 'str'>\n",
      "12/04/15\n",
      "<class 'str'>\n",
      "12/04/15\n",
      "<class 'str'>\n",
      "13/04/15\n",
      "<class 'str'>\n",
      "18/04/15\n",
      "<class 'str'>\n",
      "18/04/15\n",
      "<class 'str'>\n",
      "18/04/15\n",
      "<class 'str'>\n",
      "18/04/15\n",
      "<class 'str'>\n",
      "18/04/15\n",
      "<class 'str'>\n",
      "19/04/15\n",
      "<class 'str'>\n",
      "19/04/15\n",
      "<class 'str'>\n",
      "25/04/15\n",
      "<class 'str'>\n",
      "25/04/15\n",
      "<class 'str'>\n",
      "25/04/15\n",
      "<class 'str'>\n",
      "25/04/15\n",
      "<class 'str'>\n",
      "25/04/15\n",
      "<class 'str'>\n",
      "25/04/15\n",
      "<class 'str'>\n",
      "25/04/15\n",
      "<class 'str'>\n",
      "25/04/15\n",
      "<class 'str'>\n",
      "26/04/15\n",
      "<class 'str'>\n",
      "26/04/15\n",
      "<class 'str'>\n",
      "28/04/15\n",
      "<class 'str'>\n",
      "29/04/15\n",
      "<class 'str'>\n",
      "02/05/15\n",
      "<class 'str'>\n",
      "02/05/15\n",
      "<class 'str'>\n",
      "02/05/15\n",
      "<class 'str'>\n",
      "02/05/15\n",
      "<class 'str'>\n",
      "02/05/15\n",
      "<class 'str'>\n",
      "02/05/15\n",
      "<class 'str'>\n",
      "02/05/15\n",
      "<class 'str'>\n",
      "03/05/15\n",
      "<class 'str'>\n",
      "03/05/15\n",
      "<class 'str'>\n",
      "04/05/15\n",
      "<class 'str'>\n",
      "09/05/15\n",
      "<class 'str'>\n",
      "09/05/15\n",
      "<class 'str'>\n",
      "09/05/15\n",
      "<class 'str'>\n",
      "09/05/15\n",
      "<class 'str'>\n",
      "09/05/15\n",
      "<class 'str'>\n",
      "09/05/15\n",
      "<class 'str'>\n",
      "09/05/15\n",
      "<class 'str'>\n",
      "10/05/15\n",
      "<class 'str'>\n",
      "10/05/15\n",
      "<class 'str'>\n",
      "11/05/15\n",
      "<class 'str'>\n",
      "16/05/15\n",
      "<class 'str'>\n",
      "16/05/15\n",
      "<class 'str'>\n",
      "16/05/15\n",
      "<class 'str'>\n",
      "16/05/15\n",
      "<class 'str'>\n",
      "16/05/15\n",
      "<class 'str'>\n",
      "16/05/15\n",
      "<class 'str'>\n",
      "16/05/15\n",
      "<class 'str'>\n",
      "17/05/15\n",
      "<class 'str'>\n",
      "17/05/15\n",
      "<class 'str'>\n",
      "18/05/15\n",
      "<class 'str'>\n",
      "20/05/15\n",
      "<class 'str'>\n",
      "24/05/15\n",
      "<class 'str'>\n",
      "24/05/15\n",
      "<class 'str'>\n",
      "24/05/15\n",
      "<class 'str'>\n",
      "24/05/15\n",
      "<class 'str'>\n",
      "24/05/15\n",
      "<class 'str'>\n",
      "24/05/15\n",
      "<class 'str'>\n",
      "24/05/15\n",
      "<class 'str'>\n",
      "24/05/15\n",
      "<class 'str'>\n",
      "24/05/15\n",
      "<class 'str'>\n",
      "24/05/15\n",
      "<class 'str'>\n",
      "17/08/13\n",
      "<class 'str'>\n",
      "17/08/13\n",
      "<class 'str'>\n",
      "17/08/13\n",
      "<class 'str'>\n",
      "17/08/13\n",
      "<class 'str'>\n",
      "17/08/13\n",
      "<class 'str'>\n",
      "17/08/13\n",
      "<class 'str'>\n",
      "17/08/13\n",
      "<class 'str'>\n",
      "18/08/13\n",
      "<class 'str'>\n",
      "18/08/13\n",
      "<class 'str'>\n",
      "19/08/13\n",
      "<class 'str'>\n",
      "21/08/13\n",
      "<class 'str'>\n",
      "24/08/13\n",
      "<class 'str'>\n",
      "24/08/13\n",
      "<class 'str'>\n",
      "24/08/13\n",
      "<class 'str'>\n",
      "24/08/13\n",
      "<class 'str'>\n",
      "24/08/13\n",
      "<class 'str'>\n",
      "24/08/13\n",
      "<class 'str'>\n",
      "24/08/13\n",
      "<class 'str'>\n",
      "25/08/13\n",
      "<class 'str'>\n",
      "25/08/13\n",
      "<class 'str'>\n",
      "26/08/13\n",
      "<class 'str'>\n",
      "31/08/13\n",
      "<class 'str'>\n",
      "31/08/13\n",
      "<class 'str'>\n",
      "31/08/13\n",
      "<class 'str'>\n",
      "31/08/13\n",
      "<class 'str'>\n",
      "31/08/13\n",
      "<class 'str'>\n",
      "31/08/13\n",
      "<class 'str'>\n",
      "01/09/13\n",
      "<class 'str'>\n",
      "01/09/13\n",
      "<class 'str'>\n",
      "01/09/13\n",
      "<class 'str'>\n",
      "14/09/13\n",
      "<class 'str'>\n",
      "14/09/13\n",
      "<class 'str'>\n",
      "14/09/13\n",
      "<class 'str'>\n",
      "14/09/13\n",
      "<class 'str'>\n",
      "14/09/13\n",
      "<class 'str'>\n",
      "14/09/13\n",
      "<class 'str'>\n",
      "14/09/13\n",
      "<class 'str'>\n",
      "14/09/13\n",
      "<class 'str'>\n",
      "15/09/13\n",
      "<class 'str'>\n",
      "16/09/13\n",
      "<class 'str'>\n",
      "21/09/13\n",
      "<class 'str'>\n",
      "21/09/13\n",
      "<class 'str'>\n",
      "21/09/13\n",
      "<class 'str'>\n",
      "21/09/13\n",
      "<class 'str'>\n",
      "21/09/13\n",
      "<class 'str'>\n",
      "21/09/13\n",
      "<class 'str'>\n",
      "22/09/13\n",
      "<class 'str'>\n",
      "22/09/13\n",
      "<class 'str'>\n",
      "22/09/13\n",
      "<class 'str'>\n",
      "22/09/13\n",
      "<class 'str'>\n",
      "28/09/13\n",
      "<class 'str'>\n",
      "28/09/13\n",
      "<class 'str'>\n",
      "28/09/13\n",
      "<class 'str'>\n",
      "28/09/13\n",
      "<class 'str'>\n",
      "28/09/13\n",
      "<class 'str'>\n",
      "28/09/13\n",
      "<class 'str'>\n",
      "28/09/13\n",
      "<class 'str'>\n",
      "29/09/13\n",
      "<class 'str'>\n",
      "29/09/13\n",
      "<class 'str'>\n",
      "30/09/13\n",
      "<class 'str'>\n",
      "05/10/13\n",
      "<class 'str'>\n",
      "05/10/13\n",
      "<class 'str'>\n",
      "05/10/13\n",
      "<class 'str'>\n",
      "05/10/13\n",
      "<class 'str'>\n",
      "05/10/13\n",
      "<class 'str'>\n",
      "05/10/13\n",
      "<class 'str'>\n",
      "06/10/13\n",
      "<class 'str'>\n",
      "06/10/13\n",
      "<class 'str'>\n",
      "06/10/13\n",
      "<class 'str'>\n",
      "06/10/13\n",
      "<class 'str'>\n",
      "19/10/13\n",
      "<class 'str'>\n",
      "19/10/13\n",
      "<class 'str'>\n",
      "19/10/13\n",
      "<class 'str'>\n",
      "19/10/13\n",
      "<class 'str'>\n",
      "19/10/13\n",
      "<class 'str'>\n",
      "19/10/13\n",
      "<class 'str'>\n",
      "19/10/13\n",
      "<class 'str'>\n",
      "19/10/13\n",
      "<class 'str'>\n",
      "20/10/13\n",
      "<class 'str'>\n",
      "21/10/13\n",
      "<class 'str'>\n",
      "26/10/13\n",
      "<class 'str'>\n",
      "26/10/13\n",
      "<class 'str'>\n",
      "26/10/13\n",
      "<class 'str'>\n",
      "26/10/13\n",
      "<class 'str'>\n",
      "26/10/13\n",
      "<class 'str'>\n",
      "26/10/13\n",
      "<class 'str'>\n",
      "27/10/13\n",
      "<class 'str'>\n",
      "27/10/13\n",
      "<class 'str'>\n",
      "27/10/13\n",
      "<class 'str'>\n",
      "27/10/13\n",
      "<class 'str'>\n",
      "02/11/13\n",
      "<class 'str'>\n",
      "02/11/13\n",
      "<class 'str'>\n",
      "02/11/13\n",
      "<class 'str'>\n",
      "02/11/13\n",
      "<class 'str'>\n",
      "02/11/13\n",
      "<class 'str'>\n",
      "02/11/13\n",
      "<class 'str'>\n",
      "02/11/13\n",
      "<class 'str'>\n",
      "02/11/13\n",
      "<class 'str'>\n",
      "03/11/13\n",
      "<class 'str'>\n",
      "03/11/13\n",
      "<class 'str'>\n",
      "09/11/13\n",
      "<class 'str'>\n",
      "09/11/13\n",
      "<class 'str'>\n",
      "09/11/13\n",
      "<class 'str'>\n",
      "09/11/13\n",
      "<class 'str'>\n",
      "09/11/13\n",
      "<class 'str'>\n",
      "09/11/13\n",
      "<class 'str'>\n",
      "10/11/13\n",
      "<class 'str'>\n",
      "10/11/13\n",
      "<class 'str'>\n",
      "10/11/13\n",
      "<class 'str'>\n",
      "10/11/13\n",
      "<class 'str'>\n",
      "23/11/13\n",
      "<class 'str'>\n",
      "23/11/13\n",
      "<class 'str'>\n",
      "23/11/13\n",
      "<class 'str'>\n",
      "23/11/13\n",
      "<class 'str'>\n",
      "23/11/13\n",
      "<class 'str'>\n",
      "23/11/13\n",
      "<class 'str'>\n",
      "23/11/13\n",
      "<class 'str'>\n",
      "24/11/13\n",
      "<class 'str'>\n",
      "24/11/13\n",
      "<class 'str'>\n",
      "25/11/13\n",
      "<class 'str'>\n",
      "30/11/13\n",
      "<class 'str'>\n",
      "30/11/13\n",
      "<class 'str'>\n",
      "30/11/13\n",
      "<class 'str'>\n",
      "30/11/13\n",
      "<class 'str'>\n",
      "30/11/13\n",
      "<class 'str'>\n",
      "30/11/13\n",
      "<class 'str'>\n",
      "01/12/13\n",
      "<class 'str'>\n",
      "01/12/13\n",
      "<class 'str'>\n",
      "01/12/13\n",
      "<class 'str'>\n",
      "01/12/13\n",
      "<class 'str'>\n",
      "03/12/13\n",
      "<class 'str'>\n",
      "04/12/13\n",
      "<class 'str'>\n",
      "04/12/13\n",
      "<class 'str'>\n",
      "04/12/13\n",
      "<class 'str'>\n",
      "04/12/13\n",
      "<class 'str'>\n",
      "04/12/13\n",
      "<class 'str'>\n",
      "04/12/13\n",
      "<class 'str'>\n",
      "04/12/13\n",
      "<class 'str'>\n",
      "04/12/13\n",
      "<class 'str'>\n",
      "04/12/13\n",
      "<class 'str'>\n",
      "07/12/13\n",
      "<class 'str'>\n",
      "07/12/13\n",
      "<class 'str'>\n",
      "07/12/13\n",
      "<class 'str'>\n",
      "07/12/13\n",
      "<class 'str'>\n",
      "07/12/13\n",
      "<class 'str'>\n",
      "07/12/13\n",
      "<class 'str'>\n",
      "07/12/13\n",
      "<class 'str'>\n",
      "08/12/13\n",
      "<class 'str'>\n",
      "08/12/13\n",
      "<class 'str'>\n",
      "09/12/13\n",
      "<class 'str'>\n",
      "14/12/13\n",
      "<class 'str'>\n",
      "14/12/13\n",
      "<class 'str'>\n",
      "14/12/13\n",
      "<class 'str'>\n",
      "14/12/13\n",
      "<class 'str'>\n",
      "14/12/13\n",
      "<class 'str'>\n",
      "14/12/13\n",
      "<class 'str'>\n",
      "14/12/13\n",
      "<class 'str'>\n",
      "15/12/13\n",
      "<class 'str'>\n",
      "15/12/13\n",
      "<class 'str'>\n",
      "15/12/13\n",
      "<class 'str'>\n",
      "21/12/13\n",
      "<class 'str'>\n",
      "21/12/13\n",
      "<class 'str'>\n",
      "21/12/13\n",
      "<class 'str'>\n",
      "21/12/13\n",
      "<class 'str'>\n",
      "21/12/13\n",
      "<class 'str'>\n",
      "21/12/13\n",
      "<class 'str'>\n",
      "21/12/13\n",
      "<class 'str'>\n",
      "22/12/13\n",
      "<class 'str'>\n",
      "22/12/13\n",
      "<class 'str'>\n",
      "23/12/13\n",
      "<class 'str'>\n",
      "26/12/13\n",
      "<class 'str'>\n",
      "26/12/13\n",
      "<class 'str'>\n",
      "26/12/13\n",
      "<class 'str'>\n",
      "26/12/13\n",
      "<class 'str'>\n",
      "26/12/13\n",
      "<class 'str'>\n",
      "26/12/13\n",
      "<class 'str'>\n",
      "26/12/13\n",
      "<class 'str'>\n",
      "26/12/13\n",
      "<class 'str'>\n",
      "26/12/13\n",
      "<class 'str'>\n",
      "26/12/13\n",
      "<class 'str'>\n",
      "28/12/13\n",
      "<class 'str'>\n",
      "28/12/13\n",
      "<class 'str'>\n",
      "28/12/13\n",
      "<class 'str'>\n",
      "28/12/13\n",
      "<class 'str'>\n",
      "28/12/13\n",
      "<class 'str'>\n",
      "28/12/13\n",
      "<class 'str'>\n",
      "29/12/13\n",
      "<class 'str'>\n",
      "29/12/13\n",
      "<class 'str'>\n",
      "29/12/13\n",
      "<class 'str'>\n",
      "29/12/13\n",
      "<class 'str'>\n",
      "01/01/14\n",
      "<class 'str'>\n",
      "01/01/14\n",
      "<class 'str'>\n",
      "01/01/14\n",
      "<class 'str'>\n",
      "01/01/14\n",
      "<class 'str'>\n",
      "01/01/14\n",
      "<class 'str'>\n",
      "01/01/14\n",
      "<class 'str'>\n",
      "01/01/14\n",
      "<class 'str'>\n",
      "01/01/14\n",
      "<class 'str'>\n",
      "01/01/14\n",
      "<class 'str'>\n",
      "01/01/14\n",
      "<class 'str'>\n",
      "11/01/14\n",
      "<class 'str'>\n",
      "11/01/14\n",
      "<class 'str'>\n",
      "11/01/14\n",
      "<class 'str'>\n",
      "11/01/14\n",
      "<class 'str'>\n",
      "11/01/14\n",
      "<class 'str'>\n",
      "11/01/14\n",
      "<class 'str'>\n",
      "11/01/14\n",
      "<class 'str'>\n",
      "12/01/14\n",
      "<class 'str'>\n",
      "12/01/14\n",
      "<class 'str'>\n",
      "13/01/14\n",
      "<class 'str'>\n",
      "18/01/14\n",
      "<class 'str'>\n",
      "18/01/14\n",
      "<class 'str'>\n",
      "18/01/14\n",
      "<class 'str'>\n",
      "18/01/14\n",
      "<class 'str'>\n",
      "18/01/14\n",
      "<class 'str'>\n",
      "18/01/14\n",
      "<class 'str'>\n",
      "18/01/14\n",
      "<class 'str'>\n",
      "19/01/14\n",
      "<class 'str'>\n",
      "19/01/14\n",
      "<class 'str'>\n",
      "20/01/14\n",
      "<class 'str'>\n",
      "28/01/14\n",
      "<class 'str'>\n",
      "28/01/14\n",
      "<class 'str'>\n",
      "28/01/14\n",
      "<class 'str'>\n",
      "28/01/14\n",
      "<class 'str'>\n",
      "28/01/14\n",
      "<class 'str'>\n",
      "28/01/14\n",
      "<class 'str'>\n",
      "29/01/14\n",
      "<class 'str'>\n",
      "29/01/14\n",
      "<class 'str'>\n",
      "29/01/14\n",
      "<class 'str'>\n",
      "29/01/14\n",
      "<class 'str'>\n",
      "01/02/14\n",
      "<class 'str'>\n",
      "01/02/14\n",
      "<class 'str'>\n",
      "01/02/14\n",
      "<class 'str'>\n",
      "01/02/14\n",
      "<class 'str'>\n",
      "01/02/14\n",
      "<class 'str'>\n",
      "01/02/14\n",
      "<class 'str'>\n",
      "01/02/14\n",
      "<class 'str'>\n",
      "02/02/14\n",
      "<class 'str'>\n",
      "02/02/14\n",
      "<class 'str'>\n",
      "03/02/14\n",
      "<class 'str'>\n",
      "08/02/14\n",
      "<class 'str'>\n",
      "08/02/14\n",
      "<class 'str'>\n",
      "08/02/14\n",
      "<class 'str'>\n",
      "08/02/14\n",
      "<class 'str'>\n",
      "08/02/14\n",
      "<class 'str'>\n",
      "08/02/14\n",
      "<class 'str'>\n",
      "08/02/14\n",
      "<class 'str'>\n",
      "08/02/14\n",
      "<class 'str'>\n",
      "09/02/14\n",
      "<class 'str'>\n",
      "09/02/14\n",
      "<class 'str'>\n",
      "11/02/14\n",
      "<class 'str'>\n",
      "11/02/14\n",
      "<class 'str'>\n",
      "11/02/14\n",
      "<class 'str'>\n",
      "11/02/14\n",
      "<class 'str'>\n",
      "12/02/14\n",
      "<class 'str'>\n",
      "12/02/14\n",
      "<class 'str'>\n",
      "12/02/14\n",
      "<class 'str'>\n",
      "12/02/14\n",
      "<class 'str'>\n",
      "22/02/14\n",
      "<class 'str'>\n",
      "22/02/14\n",
      "<class 'str'>\n",
      "22/02/14\n",
      "<class 'str'>\n",
      "22/02/14\n",
      "<class 'str'>\n",
      "22/02/14\n",
      "<class 'str'>\n",
      "22/02/14\n",
      "<class 'str'>\n",
      "22/02/14\n",
      "<class 'str'>\n",
      "23/02/14\n",
      "<class 'str'>\n",
      "23/02/14\n",
      "<class 'str'>\n",
      "23/02/14\n",
      "<class 'str'>\n",
      "01/03/14\n",
      "<class 'str'>\n",
      "01/03/14\n",
      "<class 'str'>\n",
      "01/03/14\n",
      "<class 'str'>\n",
      "01/03/14\n",
      "<class 'str'>\n",
      "01/03/14\n",
      "<class 'str'>\n",
      "02/03/14\n",
      "<class 'str'>\n",
      "02/03/14\n",
      "<class 'str'>\n",
      "02/03/14\n",
      "<class 'str'>\n",
      "08/03/14\n",
      "<class 'str'>\n",
      "08/03/14\n",
      "<class 'str'>\n",
      "08/03/14\n",
      "<class 'str'>\n",
      "08/03/14\n",
      "<class 'str'>\n",
      "08/03/14\n",
      "<class 'str'>\n",
      "15/03/14\n",
      "<class 'str'>\n",
      "15/03/14\n",
      "<class 'str'>\n",
      "15/03/14\n",
      "<class 'str'>\n",
      "15/03/14\n",
      "<class 'str'>\n",
      "15/03/14\n",
      "<class 'str'>\n",
      "15/03/14\n",
      "<class 'str'>\n",
      "15/03/14\n",
      "<class 'str'>\n",
      "15/03/14\n",
      "<class 'str'>\n",
      "16/03/14\n",
      "<class 'str'>\n",
      "16/03/14\n",
      "<class 'str'>\n",
      "22/03/14\n",
      "<class 'str'>\n",
      "22/03/14\n",
      "<class 'str'>\n",
      "22/03/14\n",
      "<class 'str'>\n",
      "22/03/14\n",
      "<class 'str'>\n",
      "22/03/14\n",
      "<class 'str'>\n",
      "22/03/14\n",
      "<class 'str'>\n",
      "22/03/14\n",
      "<class 'str'>\n",
      "22/03/14\n",
      "<class 'str'>\n",
      "23/03/14\n",
      "<class 'str'>\n",
      "23/03/14\n",
      "<class 'str'>\n",
      "25/03/14\n",
      "<class 'str'>\n",
      "25/03/14\n",
      "<class 'str'>\n",
      "25/03/14\n",
      "<class 'str'>\n",
      "26/03/14\n",
      "<class 'str'>\n",
      "26/03/14\n",
      "<class 'str'>\n",
      "29/03/14\n",
      "<class 'str'>\n",
      "29/03/14\n",
      "<class 'str'>\n",
      "29/03/14\n",
      "<class 'str'>\n",
      "29/03/14\n",
      "<class 'str'>\n",
      "29/03/14\n",
      "<class 'str'>\n",
      "29/03/14\n",
      "<class 'str'>\n",
      "29/03/14\n",
      "<class 'str'>\n",
      "30/03/14\n",
      "<class 'str'>\n",
      "30/03/14\n",
      "<class 'str'>\n",
      "31/03/14\n",
      "<class 'str'>\n",
      "05/04/14\n",
      "<class 'str'>\n",
      "05/04/14\n",
      "<class 'str'>\n",
      "05/04/14\n",
      "<class 'str'>\n",
      "05/04/14\n",
      "<class 'str'>\n",
      "05/04/14\n",
      "<class 'str'>\n",
      "05/04/14\n",
      "<class 'str'>\n",
      "05/04/14\n",
      "<class 'str'>\n",
      "06/04/14\n",
      "<class 'str'>\n",
      "06/04/14\n",
      "<class 'str'>\n",
      "07/04/14\n",
      "<class 'str'>\n",
      "12/04/14\n",
      "<class 'str'>\n",
      "12/04/14\n",
      "<class 'str'>\n",
      "12/04/14\n",
      "<class 'str'>\n",
      "12/04/14\n",
      "<class 'str'>\n",
      "12/04/14\n",
      "<class 'str'>\n",
      "12/04/14\n",
      "<class 'str'>\n",
      "13/04/14\n",
      "<class 'str'>\n",
      "13/04/14\n",
      "<class 'str'>\n",
      "15/04/14\n",
      "<class 'str'>\n",
      "16/04/14\n",
      "<class 'str'>\n",
      "16/04/14\n",
      "<class 'str'>\n",
      "19/04/14\n",
      "<class 'str'>\n",
      "19/04/14\n",
      "<class 'str'>\n",
      "19/04/14\n",
      "<class 'str'>\n",
      "19/04/14\n",
      "<class 'str'>\n",
      "19/04/14\n",
      "<class 'str'>\n",
      "19/04/14\n",
      "<class 'str'>\n",
      "20/04/14\n",
      "<class 'str'>\n",
      "20/04/14\n",
      "<class 'str'>\n",
      "20/04/14\n",
      "<class 'str'>\n",
      "21/04/14\n",
      "<class 'str'>\n",
      "26/04/14\n",
      "<class 'str'>\n",
      "26/04/14\n",
      "<class 'str'>\n",
      "26/04/14\n",
      "<class 'str'>\n",
      "26/04/14\n",
      "<class 'str'>\n",
      "26/04/14\n",
      "<class 'str'>\n",
      "26/04/14\n",
      "<class 'str'>\n",
      "27/04/14\n",
      "<class 'str'>\n",
      "27/04/14\n",
      "<class 'str'>\n",
      "27/04/14\n",
      "<class 'str'>\n",
      "28/04/14\n",
      "<class 'str'>\n",
      "03/05/14\n",
      "<class 'str'>\n",
      "03/05/14\n",
      "<class 'str'>\n",
      "03/05/14\n",
      "<class 'str'>\n",
      "03/05/14\n",
      "<class 'str'>\n",
      "03/05/14\n",
      "<class 'str'>\n",
      "03/05/14\n",
      "<class 'str'>\n",
      "03/05/14\n",
      "<class 'str'>\n",
      "04/05/14\n",
      "<class 'str'>\n",
      "04/05/14\n",
      "<class 'str'>\n",
      "05/05/14\n",
      "<class 'str'>\n",
      "06/05/14\n",
      "<class 'str'>\n",
      "07/05/14\n",
      "<class 'str'>\n",
      "07/05/14\n",
      "<class 'str'>\n",
      "11/05/14\n",
      "<class 'str'>\n",
      "11/05/14\n",
      "<class 'str'>\n",
      "11/05/14\n",
      "<class 'str'>\n",
      "11/05/14\n",
      "<class 'str'>\n",
      "11/05/14\n",
      "<class 'str'>\n",
      "11/05/14\n",
      "<class 'str'>\n",
      "11/05/14\n",
      "<class 'str'>\n",
      "11/05/14\n",
      "<class 'str'>\n",
      "11/05/14\n",
      "<class 'str'>\n",
      "11/05/14\n",
      "<class 'str'>\n",
      "18/08/12\n",
      "<class 'str'>\n",
      "18/08/12\n",
      "<class 'str'>\n",
      "18/08/12\n",
      "<class 'str'>\n",
      "18/08/12\n",
      "<class 'str'>\n",
      "18/08/12\n",
      "<class 'str'>\n",
      "18/08/12\n",
      "<class 'str'>\n",
      "18/08/12\n",
      "<class 'str'>\n",
      "19/08/12\n",
      "<class 'str'>\n",
      "19/08/12\n",
      "<class 'str'>\n",
      "20/08/12\n",
      "<class 'str'>\n",
      "22/08/12\n",
      "<class 'str'>\n",
      "25/08/12\n",
      "<class 'str'>\n",
      "25/08/12\n",
      "<class 'str'>\n",
      "25/08/12\n",
      "<class 'str'>\n",
      "25/08/12\n",
      "<class 'str'>\n",
      "25/08/12\n",
      "<class 'str'>\n",
      "25/08/12\n",
      "<class 'str'>\n",
      "25/08/12\n",
      "<class 'str'>\n",
      "26/08/12\n",
      "<class 'str'>\n",
      "26/08/12\n",
      "<class 'str'>\n",
      "01/09/12\n",
      "<class 'str'>\n",
      "01/09/12\n",
      "<class 'str'>\n",
      "01/09/12\n",
      "<class 'str'>\n",
      "01/09/12\n",
      "<class 'str'>\n",
      "01/09/12\n",
      "<class 'str'>\n",
      "01/09/12\n",
      "<class 'str'>\n",
      "02/09/12\n",
      "<class 'str'>\n",
      "02/09/12\n",
      "<class 'str'>\n",
      "02/09/12\n",
      "<class 'str'>\n",
      "15/09/12\n",
      "<class 'str'>\n",
      "15/09/12\n",
      "<class 'str'>\n",
      "15/09/12\n",
      "<class 'str'>\n",
      "15/09/12\n",
      "<class 'str'>\n",
      "15/09/12\n",
      "<class 'str'>\n",
      "15/09/12\n",
      "<class 'str'>\n",
      "15/09/12\n",
      "<class 'str'>\n",
      "15/09/12\n",
      "<class 'str'>\n",
      "16/09/12\n",
      "<class 'str'>\n",
      "17/09/12\n",
      "<class 'str'>\n",
      "22/09/12\n",
      "<class 'str'>\n",
      "22/09/12\n",
      "<class 'str'>\n",
      "22/09/12\n",
      "<class 'str'>\n",
      "22/09/12\n",
      "<class 'str'>\n",
      "22/09/12\n",
      "<class 'str'>\n",
      "22/09/12\n",
      "<class 'str'>\n",
      "23/09/12\n",
      "<class 'str'>\n",
      "23/09/12\n",
      "<class 'str'>\n",
      "23/09/12\n",
      "<class 'str'>\n",
      "23/09/12\n",
      "<class 'str'>\n",
      "29/09/12\n",
      "<class 'str'>\n",
      "29/09/12\n",
      "<class 'str'>\n",
      "29/09/12\n",
      "<class 'str'>\n",
      "29/09/12\n",
      "<class 'str'>\n",
      "29/09/12\n",
      "<class 'str'>\n",
      "29/09/12\n",
      "<class 'str'>\n",
      "29/09/12\n",
      "<class 'str'>\n",
      "29/09/12\n",
      "<class 'str'>\n",
      "30/09/12\n",
      "<class 'str'>\n",
      "01/10/12\n",
      "<class 'str'>\n",
      "06/10/12\n",
      "<class 'str'>\n",
      "06/10/12\n",
      "<class 'str'>\n",
      "06/10/12\n",
      "<class 'str'>\n",
      "06/10/12\n",
      "<class 'str'>\n",
      "06/10/12\n",
      "<class 'str'>\n",
      "06/10/12\n",
      "<class 'str'>\n",
      "07/10/12\n",
      "<class 'str'>\n",
      "07/10/12\n",
      "<class 'str'>\n",
      "07/10/12\n",
      "<class 'str'>\n",
      "07/10/12\n",
      "<class 'str'>\n",
      "20/10/12\n",
      "<class 'str'>\n",
      "20/10/12\n",
      "<class 'str'>\n",
      "20/10/12\n",
      "<class 'str'>\n",
      "20/10/12\n",
      "<class 'str'>\n",
      "20/10/12\n",
      "<class 'str'>\n",
      "20/10/12\n",
      "<class 'str'>\n",
      "20/10/12\n",
      "<class 'str'>\n",
      "20/10/12\n",
      "<class 'str'>\n",
      "21/10/12\n",
      "<class 'str'>\n",
      "21/10/12\n",
      "<class 'str'>\n",
      "27/10/12\n",
      "<class 'str'>\n",
      "27/10/12\n",
      "<class 'str'>\n",
      "27/10/12\n",
      "<class 'str'>\n",
      "27/10/12\n",
      "<class 'str'>\n",
      "27/10/12\n",
      "<class 'str'>\n",
      "27/10/12\n",
      "<class 'str'>\n",
      "28/10/12\n",
      "<class 'str'>\n",
      "28/10/12\n",
      "<class 'str'>\n",
      "28/10/12\n",
      "<class 'str'>\n",
      "28/10/12\n",
      "<class 'str'>\n",
      "03/11/12\n",
      "<class 'str'>\n",
      "03/11/12\n",
      "<class 'str'>\n",
      "03/11/12\n",
      "<class 'str'>\n",
      "03/11/12\n",
      "<class 'str'>\n",
      "03/11/12\n",
      "<class 'str'>\n",
      "03/11/12\n",
      "<class 'str'>\n",
      "03/11/12\n",
      "<class 'str'>\n",
      "04/11/12\n",
      "<class 'str'>\n",
      "04/11/12\n",
      "<class 'str'>\n",
      "05/11/12\n",
      "<class 'str'>\n",
      "10/11/12\n",
      "<class 'str'>\n",
      "10/11/12\n",
      "<class 'str'>\n",
      "10/11/12\n",
      "<class 'str'>\n",
      "10/11/12\n",
      "<class 'str'>\n",
      "10/11/12\n",
      "<class 'str'>\n",
      "10/11/12\n",
      "<class 'str'>\n",
      "10/11/12\n",
      "<class 'str'>\n",
      "11/11/12\n",
      "<class 'str'>\n",
      "11/11/12\n",
      "<class 'str'>\n",
      "11/11/12\n",
      "<class 'str'>\n",
      "17/11/12\n",
      "<class 'str'>\n",
      "17/11/12\n",
      "<class 'str'>\n",
      "17/11/12\n",
      "<class 'str'>\n",
      "17/11/12\n",
      "<class 'str'>\n",
      "17/11/12\n",
      "<class 'str'>\n",
      "17/11/12\n",
      "<class 'str'>\n",
      "17/11/12\n",
      "<class 'str'>\n",
      "17/11/12\n",
      "<class 'str'>\n",
      "18/11/12\n",
      "<class 'str'>\n",
      "19/11/12\n",
      "<class 'str'>\n",
      "24/11/12\n",
      "<class 'str'>\n",
      "24/11/12\n",
      "<class 'str'>\n",
      "24/11/12\n",
      "<class 'str'>\n",
      "24/11/12\n",
      "<class 'str'>\n",
      "24/11/12\n",
      "<class 'str'>\n",
      "24/11/12\n",
      "<class 'str'>\n",
      "25/11/12\n",
      "<class 'str'>\n",
      "25/11/12\n",
      "<class 'str'>\n",
      "25/11/12\n",
      "<class 'str'>\n",
      "25/11/12\n",
      "<class 'str'>\n",
      "27/11/12\n",
      "<class 'str'>\n",
      "27/11/12\n",
      "<class 'str'>\n",
      "28/11/12\n",
      "<class 'str'>\n",
      "28/11/12\n",
      "<class 'str'>\n",
      "28/11/12\n",
      "<class 'str'>\n",
      "28/11/12\n",
      "<class 'str'>\n",
      "28/11/12\n",
      "<class 'str'>\n",
      "28/11/12\n",
      "<class 'str'>\n",
      "28/11/12\n",
      "<class 'str'>\n",
      "28/11/12\n",
      "<class 'str'>\n",
      "01/12/12\n",
      "<class 'str'>\n",
      "01/12/12\n",
      "<class 'str'>\n",
      "01/12/12\n",
      "<class 'str'>\n",
      "01/12/12\n",
      "<class 'str'>\n",
      "01/12/12\n",
      "<class 'str'>\n",
      "01/12/12\n",
      "<class 'str'>\n",
      "01/12/12\n",
      "<class 'str'>\n",
      "01/12/12\n",
      "<class 'str'>\n",
      "02/12/12\n",
      "<class 'str'>\n",
      "03/12/12\n",
      "<class 'str'>\n",
      "08/12/12\n",
      "<class 'str'>\n",
      "08/12/12\n",
      "<class 'str'>\n",
      "08/12/12\n",
      "<class 'str'>\n",
      "08/12/12\n",
      "<class 'str'>\n",
      "08/12/12\n",
      "<class 'str'>\n",
      "08/12/12\n",
      "<class 'str'>\n",
      "09/12/12\n",
      "<class 'str'>\n",
      "09/12/12\n",
      "<class 'str'>\n",
      "09/12/12\n",
      "<class 'str'>\n",
      "10/12/12\n",
      "<class 'str'>\n",
      "11/12/12\n",
      "<class 'str'>\n",
      "15/12/12\n",
      "<class 'str'>\n",
      "15/12/12\n",
      "<class 'str'>\n",
      "15/12/12\n",
      "<class 'str'>\n",
      "15/12/12\n",
      "<class 'str'>\n",
      "15/12/12\n",
      "<class 'str'>\n",
      "15/12/12\n",
      "<class 'str'>\n",
      "16/12/12\n",
      "<class 'str'>\n",
      "16/12/12\n",
      "<class 'str'>\n",
      "17/12/12\n",
      "<class 'str'>\n",
      "22/12/12\n",
      "<class 'str'>\n",
      "22/12/12\n",
      "<class 'str'>\n",
      "22/12/12\n",
      "<class 'str'>\n",
      "22/12/12\n",
      "<class 'str'>\n",
      "22/12/12\n",
      "<class 'str'>\n",
      "22/12/12\n",
      "<class 'str'>\n",
      "22/12/12\n",
      "<class 'str'>\n",
      "22/12/12\n",
      "<class 'str'>\n",
      "23/12/12\n",
      "<class 'str'>\n",
      "23/12/12\n",
      "<class 'str'>\n",
      "26/12/12\n",
      "<class 'str'>\n",
      "26/12/12\n",
      "<class 'str'>\n",
      "26/12/12\n",
      "<class 'str'>\n",
      "26/12/12\n",
      "<class 'str'>\n",
      "26/12/12\n",
      "<class 'str'>\n",
      "26/12/12\n",
      "<class 'str'>\n",
      "26/12/12\n",
      "<class 'str'>\n",
      "26/12/12\n",
      "<class 'str'>\n",
      "26/12/12\n",
      "<class 'str'>\n",
      "29/12/12\n",
      "<class 'str'>\n",
      "29/12/12\n",
      "<class 'str'>\n",
      "29/12/12\n",
      "<class 'str'>\n",
      "29/12/12\n",
      "<class 'str'>\n",
      "29/12/12\n",
      "<class 'str'>\n",
      "29/12/12\n",
      "<class 'str'>\n",
      "29/12/12\n",
      "<class 'str'>\n",
      "29/12/12\n",
      "<class 'str'>\n",
      "30/12/12\n",
      "<class 'str'>\n",
      "30/12/12\n",
      "<class 'str'>\n",
      "01/01/13\n",
      "<class 'str'>\n",
      "01/01/13\n",
      "<class 'str'>\n",
      "01/01/13\n",
      "<class 'str'>\n",
      "01/01/13\n",
      "<class 'str'>\n",
      "01/01/13\n",
      "<class 'str'>\n",
      "01/01/13\n",
      "<class 'str'>\n",
      "01/01/13\n",
      "<class 'str'>\n",
      "02/01/13\n",
      "<class 'str'>\n",
      "02/01/13\n",
      "<class 'str'>\n",
      "02/01/13\n",
      "<class 'str'>\n",
      "12/01/13\n",
      "<class 'str'>\n",
      "12/01/13\n",
      "<class 'str'>\n",
      "12/01/13\n",
      "<class 'str'>\n",
      "12/01/13\n",
      "<class 'str'>\n",
      "12/01/13\n",
      "<class 'str'>\n",
      "12/01/13\n",
      "<class 'str'>\n",
      "12/01/13\n",
      "<class 'str'>\n",
      "12/01/13\n",
      "<class 'str'>\n",
      "13/01/13\n",
      "<class 'str'>\n",
      "13/01/13\n",
      "<class 'str'>\n",
      "16/01/13\n",
      "<class 'str'>\n",
      "19/01/13\n",
      "<class 'str'>\n",
      "19/01/13\n",
      "<class 'str'>\n",
      "19/01/13\n",
      "<class 'str'>\n",
      "19/01/13\n",
      "<class 'str'>\n",
      "19/01/13\n",
      "<class 'str'>\n",
      "19/01/13\n",
      "<class 'str'>\n",
      "19/01/13\n",
      "<class 'str'>\n",
      "20/01/13\n",
      "<class 'str'>\n",
      "20/01/13\n",
      "<class 'str'>\n",
      "21/01/13\n",
      "<class 'str'>\n",
      "23/01/13\n",
      "<class 'str'>\n",
      "29/01/13\n",
      "<class 'str'>\n",
      "29/01/13\n",
      "<class 'str'>\n",
      "29/01/13\n",
      "<class 'str'>\n",
      "29/01/13\n",
      "<class 'str'>\n",
      "30/01/13\n",
      "<class 'str'>\n",
      "30/01/13\n",
      "<class 'str'>\n",
      "30/01/13\n",
      "<class 'str'>\n",
      "30/01/13\n",
      "<class 'str'>\n",
      "30/01/13\n",
      "<class 'str'>\n",
      "30/01/13\n",
      "<class 'str'>\n",
      "02/02/13\n",
      "<class 'str'>\n",
      "02/02/13\n",
      "<class 'str'>\n",
      "02/02/13\n",
      "<class 'str'>\n",
      "02/02/13\n",
      "<class 'str'>\n",
      "02/02/13\n",
      "<class 'str'>\n",
      "02/02/13\n",
      "<class 'str'>\n",
      "02/02/13\n",
      "<class 'str'>\n",
      "02/02/13\n",
      "<class 'str'>\n",
      "03/02/13\n",
      "<class 'str'>\n",
      "03/02/13\n",
      "<class 'str'>\n",
      "09/02/13\n",
      "<class 'str'>\n",
      "09/02/13\n",
      "<class 'str'>\n",
      "09/02/13\n",
      "<class 'str'>\n",
      "09/02/13\n",
      "<class 'str'>\n",
      "09/02/13\n",
      "<class 'str'>\n",
      "09/02/13\n",
      "<class 'str'>\n",
      "09/02/13\n",
      "<class 'str'>\n",
      "10/02/13\n",
      "<class 'str'>\n",
      "10/02/13\n",
      "<class 'str'>\n",
      "11/02/13\n",
      "<class 'str'>\n",
      "17/02/13\n",
      "<class 'str'>\n",
      "23/02/13\n",
      "<class 'str'>\n",
      "23/02/13\n",
      "<class 'str'>\n",
      "23/02/13\n",
      "<class 'str'>\n",
      "23/02/13\n",
      "<class 'str'>\n",
      "23/02/13\n",
      "<class 'str'>\n",
      "23/02/13\n",
      "<class 'str'>\n",
      "24/02/13\n",
      "<class 'str'>\n",
      "24/02/13\n",
      "<class 'str'>\n",
      "25/02/13\n",
      "<class 'str'>\n",
      "02/03/13\n",
      "<class 'str'>\n",
      "02/03/13\n",
      "<class 'str'>\n",
      "02/03/13\n",
      "<class 'str'>\n",
      "02/03/13\n",
      "<class 'str'>\n",
      "02/03/13\n",
      "<class 'str'>\n",
      "02/03/13\n",
      "<class 'str'>\n",
      "02/03/13\n",
      "<class 'str'>\n",
      "02/03/13\n",
      "<class 'str'>\n",
      "03/03/13\n",
      "<class 'str'>\n",
      "04/03/13\n",
      "<class 'str'>\n",
      "09/03/13\n",
      "<class 'str'>\n",
      "09/03/13\n",
      "<class 'str'>\n",
      "09/03/13\n",
      "<class 'str'>\n",
      "09/03/13\n",
      "<class 'str'>\n",
      "10/03/13\n",
      "<class 'str'>\n",
      "10/03/13\n",
      "<class 'str'>\n",
      "16/03/13\n",
      "<class 'str'>\n",
      "16/03/13\n",
      "<class 'str'>\n",
      "16/03/13\n",
      "<class 'str'>\n",
      "16/03/13\n",
      "<class 'str'>\n",
      "16/03/13\n",
      "<class 'str'>\n",
      "16/03/13\n",
      "<class 'str'>\n",
      "17/03/13\n",
      "<class 'str'>\n",
      "17/03/13\n",
      "<class 'str'>\n",
      "17/03/13\n",
      "<class 'str'>\n",
      "17/03/13\n",
      "<class 'str'>\n",
      "30/03/13\n",
      "<class 'str'>\n",
      "30/03/13\n",
      "<class 'str'>\n",
      "30/03/13\n",
      "<class 'str'>\n",
      "30/03/13\n",
      "<class 'str'>\n",
      "30/03/13\n",
      "<class 'str'>\n",
      "30/03/13\n",
      "<class 'str'>\n",
      "30/03/13\n",
      "<class 'str'>\n",
      "30/03/13\n",
      "<class 'str'>\n",
      "31/03/13\n",
      "<class 'str'>\n",
      "01/04/13\n",
      "<class 'str'>\n",
      "06/04/13\n",
      "<class 'str'>\n",
      "06/04/13\n",
      "<class 'str'>\n",
      "06/04/13\n",
      "<class 'str'>\n",
      "06/04/13\n",
      "<class 'str'>\n",
      "07/04/13\n",
      "<class 'str'>\n",
      "07/04/13\n",
      "<class 'str'>\n",
      "07/04/13\n",
      "<class 'str'>\n",
      "07/04/13\n",
      "<class 'str'>\n",
      "07/04/13\n",
      "<class 'str'>\n",
      "08/04/13\n",
      "<class 'str'>\n",
      "13/04/13\n",
      "<class 'str'>\n",
      "13/04/13\n",
      "<class 'str'>\n",
      "13/04/13\n",
      "<class 'str'>\n",
      "13/04/13\n",
      "<class 'str'>\n",
      "13/04/13\n",
      "<class 'str'>\n",
      "14/04/13\n",
      "<class 'str'>\n",
      "14/04/13\n",
      "<class 'str'>\n",
      "16/04/13\n",
      "<class 'str'>\n",
      "17/04/13\n",
      "<class 'str'>\n",
      "17/04/13\n",
      "<class 'str'>\n",
      "17/04/13\n",
      "<class 'str'>\n",
      "20/04/13\n",
      "<class 'str'>\n",
      "20/04/13\n",
      "<class 'str'>\n",
      "20/04/13\n",
      "<class 'str'>\n",
      "20/04/13\n",
      "<class 'str'>\n",
      "20/04/13\n",
      "<class 'str'>\n",
      "20/04/13\n",
      "<class 'str'>\n",
      "20/04/13\n",
      "<class 'str'>\n",
      "21/04/13\n",
      "<class 'str'>\n",
      "21/04/13\n",
      "<class 'str'>\n",
      "22/04/13\n",
      "<class 'str'>\n",
      "27/04/13\n",
      "<class 'str'>\n",
      "27/04/13\n",
      "<class 'str'>\n",
      "27/04/13\n",
      "<class 'str'>\n",
      "27/04/13\n",
      "<class 'str'>\n",
      "27/04/13\n",
      "<class 'str'>\n",
      "27/04/13\n",
      "<class 'str'>\n",
      "28/04/13\n",
      "<class 'str'>\n",
      "28/04/13\n",
      "<class 'str'>\n",
      "28/04/13\n",
      "<class 'str'>\n",
      "29/04/13\n",
      "<class 'str'>\n",
      "04/05/13\n",
      "<class 'str'>\n",
      "04/05/13\n",
      "<class 'str'>\n",
      "04/05/13\n",
      "<class 'str'>\n",
      "04/05/13\n",
      "<class 'str'>\n",
      "04/05/13\n",
      "<class 'str'>\n",
      "04/05/13\n",
      "<class 'str'>\n",
      "04/05/13\n",
      "<class 'str'>\n",
      "05/05/13\n",
      "<class 'str'>\n",
      "05/05/13\n",
      "<class 'str'>\n",
      "06/05/13\n",
      "<class 'str'>\n",
      "07/05/13\n",
      "<class 'str'>\n",
      "07/05/13\n",
      "<class 'str'>\n",
      "08/05/13\n",
      "<class 'str'>\n",
      "11/05/13\n",
      "<class 'str'>\n",
      "12/05/13\n",
      "<class 'str'>\n",
      "12/05/13\n",
      "<class 'str'>\n",
      "12/05/13\n",
      "<class 'str'>\n",
      "12/05/13\n",
      "<class 'str'>\n",
      "12/05/13\n",
      "<class 'str'>\n",
      "12/05/13\n",
      "<class 'str'>\n",
      "12/05/13\n",
      "<class 'str'>\n",
      "14/05/13\n",
      "<class 'str'>\n",
      "14/05/13\n",
      "<class 'str'>\n",
      "19/05/13\n",
      "<class 'str'>\n",
      "19/05/13\n",
      "<class 'str'>\n",
      "19/05/13\n",
      "<class 'str'>\n",
      "19/05/13\n",
      "<class 'str'>\n",
      "19/05/13\n",
      "<class 'str'>\n",
      "19/05/13\n",
      "<class 'str'>\n",
      "19/05/13\n",
      "<class 'str'>\n",
      "19/05/13\n",
      "<class 'str'>\n",
      "19/05/13\n",
      "<class 'str'>\n",
      "19/05/13\n",
      "<class 'str'>\n",
      "13/08/11\n",
      "<class 'str'>\n",
      "13/08/11\n",
      "<class 'str'>\n",
      "13/08/11\n",
      "<class 'str'>\n",
      "13/08/11\n",
      "<class 'str'>\n",
      "13/08/11\n",
      "<class 'str'>\n",
      "13/08/11\n",
      "<class 'str'>\n",
      "14/08/11\n",
      "<class 'str'>\n",
      "14/08/11\n",
      "<class 'str'>\n",
      "15/08/11\n",
      "<class 'str'>\n",
      "20/08/11\n",
      "<class 'str'>\n",
      "20/08/11\n",
      "<class 'str'>\n",
      "20/08/11\n",
      "<class 'str'>\n",
      "20/08/11\n",
      "<class 'str'>\n",
      "20/08/11\n",
      "<class 'str'>\n",
      "20/08/11\n",
      "<class 'str'>\n",
      "21/08/11\n",
      "<class 'str'>\n",
      "21/08/11\n",
      "<class 'str'>\n",
      "21/08/11\n",
      "<class 'str'>\n",
      "22/08/11\n",
      "<class 'str'>\n",
      "27/08/11\n",
      "<class 'str'>\n",
      "27/08/11\n",
      "<class 'str'>\n",
      "27/08/11\n",
      "<class 'str'>\n",
      "27/08/11\n",
      "<class 'str'>\n",
      "27/08/11\n",
      "<class 'str'>\n",
      "27/08/11\n",
      "<class 'str'>\n",
      "28/08/11\n",
      "<class 'str'>\n",
      "28/08/11\n",
      "<class 'str'>\n",
      "28/08/11\n",
      "<class 'str'>\n",
      "28/08/11\n",
      "<class 'str'>\n",
      "10/09/11\n",
      "<class 'str'>\n",
      "10/09/11\n",
      "<class 'str'>\n",
      "10/09/11\n",
      "<class 'str'>\n",
      "10/09/11\n",
      "<class 'str'>\n",
      "10/09/11\n",
      "<class 'str'>\n",
      "10/09/11\n",
      "<class 'str'>\n",
      "10/09/11\n",
      "<class 'str'>\n",
      "11/09/11\n",
      "<class 'str'>\n",
      "11/09/11\n",
      "<class 'str'>\n",
      "12/09/11\n",
      "<class 'str'>\n",
      "17/09/11\n",
      "<class 'str'>\n",
      "17/09/11\n",
      "<class 'str'>\n",
      "17/09/11\n",
      "<class 'str'>\n",
      "17/09/11\n",
      "<class 'str'>\n",
      "17/09/11\n",
      "<class 'str'>\n",
      "17/09/11\n",
      "<class 'str'>\n",
      "18/09/11\n",
      "<class 'str'>\n",
      "18/09/11\n",
      "<class 'str'>\n",
      "18/09/11\n",
      "<class 'str'>\n",
      "18/09/11\n",
      "<class 'str'>\n",
      "24/09/11\n",
      "<class 'str'>\n",
      "24/09/11\n",
      "<class 'str'>\n",
      "24/09/11\n",
      "<class 'str'>\n",
      "24/09/11\n",
      "<class 'str'>\n",
      "24/09/11\n",
      "<class 'str'>\n",
      "24/09/11\n",
      "<class 'str'>\n",
      "24/09/11\n",
      "<class 'str'>\n",
      "24/09/11\n",
      "<class 'str'>\n",
      "25/09/11\n",
      "<class 'str'>\n",
      "26/09/11\n",
      "<class 'str'>\n",
      "01/10/11\n",
      "<class 'str'>\n",
      "01/10/11\n",
      "<class 'str'>\n",
      "01/10/11\n",
      "<class 'str'>\n",
      "01/10/11\n",
      "<class 'str'>\n",
      "01/10/11\n",
      "<class 'str'>\n",
      "01/10/11\n",
      "<class 'str'>\n",
      "02/10/11\n",
      "<class 'str'>\n",
      "02/10/11\n",
      "<class 'str'>\n",
      "02/10/11\n",
      "<class 'str'>\n",
      "02/10/11\n",
      "<class 'str'>\n",
      "15/10/11\n",
      "<class 'str'>\n",
      "15/10/11\n",
      "<class 'str'>\n",
      "15/10/11\n",
      "<class 'str'>\n",
      "15/10/11\n",
      "<class 'str'>\n",
      "15/10/11\n",
      "<class 'str'>\n",
      "15/10/11\n",
      "<class 'str'>\n",
      "15/10/11\n",
      "<class 'str'>\n",
      "16/10/11\n",
      "<class 'str'>\n",
      "16/10/11\n",
      "<class 'str'>\n",
      "16/10/11\n",
      "<class 'str'>\n",
      "22/10/11\n",
      "<class 'str'>\n",
      "22/10/11\n",
      "<class 'str'>\n",
      "22/10/11\n",
      "<class 'str'>\n",
      "22/10/11\n",
      "<class 'str'>\n",
      "22/10/11\n",
      "<class 'str'>\n",
      "23/10/11\n",
      "<class 'str'>\n",
      "23/10/11\n",
      "<class 'str'>\n",
      "23/10/11\n",
      "<class 'str'>\n",
      "23/10/11\n",
      "<class 'str'>\n",
      "23/10/11\n",
      "<class 'str'>\n",
      "29/10/11\n",
      "<class 'str'>\n",
      "29/10/11\n",
      "<class 'str'>\n",
      "29/10/11\n",
      "<class 'str'>\n",
      "29/10/11\n",
      "<class 'str'>\n",
      "29/10/11\n",
      "<class 'str'>\n",
      "29/10/11\n",
      "<class 'str'>\n",
      "29/10/11\n",
      "<class 'str'>\n",
      "29/10/11\n",
      "<class 'str'>\n",
      "30/10/11\n",
      "<class 'str'>\n",
      "31/10/11\n",
      "<class 'str'>\n",
      "05/11/11\n",
      "<class 'str'>\n",
      "05/11/11\n",
      "<class 'str'>\n",
      "05/11/11\n",
      "<class 'str'>\n",
      "05/11/11\n",
      "<class 'str'>\n",
      "05/11/11\n",
      "<class 'str'>\n",
      "05/11/11\n",
      "<class 'str'>\n",
      "05/11/11\n",
      "<class 'str'>\n",
      "06/11/11\n",
      "<class 'str'>\n",
      "06/11/11\n",
      "<class 'str'>\n",
      "06/11/11\n",
      "<class 'str'>\n",
      "19/11/11\n",
      "<class 'str'>\n",
      "19/11/11\n",
      "<class 'str'>\n",
      "19/11/11\n",
      "<class 'str'>\n",
      "19/11/11\n",
      "<class 'str'>\n",
      "19/11/11\n",
      "<class 'str'>\n",
      "19/11/11\n",
      "<class 'str'>\n",
      "19/11/11\n",
      "<class 'str'>\n",
      "19/11/11\n",
      "<class 'str'>\n",
      "20/11/11\n",
      "<class 'str'>\n",
      "21/11/11\n",
      "<class 'str'>\n",
      "26/11/11\n",
      "<class 'str'>\n",
      "26/11/11\n",
      "<class 'str'>\n",
      "26/11/11\n",
      "<class 'str'>\n",
      "26/11/11\n",
      "<class 'str'>\n",
      "26/11/11\n",
      "<class 'str'>\n",
      "26/11/11\n",
      "<class 'str'>\n",
      "26/11/11\n",
      "<class 'str'>\n",
      "26/11/11\n",
      "<class 'str'>\n",
      "27/11/11\n",
      "<class 'str'>\n",
      "27/11/11\n",
      "<class 'str'>\n",
      "03/12/11\n",
      "<class 'str'>\n",
      "03/12/11\n",
      "<class 'str'>\n",
      "03/12/11\n",
      "<class 'str'>\n",
      "03/12/11\n",
      "<class 'str'>\n",
      "03/12/11\n",
      "<class 'str'>\n",
      "03/12/11\n",
      "<class 'str'>\n",
      "03/12/11\n",
      "<class 'str'>\n",
      "04/12/11\n",
      "<class 'str'>\n",
      "04/12/11\n",
      "<class 'str'>\n",
      "05/12/11\n",
      "<class 'str'>\n",
      "10/12/11\n",
      "<class 'str'>\n",
      "10/12/11\n",
      "<class 'str'>\n",
      "10/12/11\n",
      "<class 'str'>\n",
      "10/12/11\n",
      "<class 'str'>\n",
      "10/12/11\n",
      "<class 'str'>\n",
      "10/12/11\n",
      "<class 'str'>\n",
      "10/12/11\n",
      "<class 'str'>\n",
      "11/12/11\n",
      "<class 'str'>\n",
      "11/12/11\n",
      "<class 'str'>\n",
      "12/12/11\n",
      "<class 'str'>\n",
      "17/12/11\n",
      "<class 'str'>\n",
      "17/12/11\n",
      "<class 'str'>\n",
      "17/12/11\n",
      "<class 'str'>\n",
      "17/12/11\n",
      "<class 'str'>\n",
      "17/12/11\n",
      "<class 'str'>\n",
      "17/12/11\n",
      "<class 'str'>\n",
      "18/12/11\n",
      "<class 'str'>\n",
      "18/12/11\n",
      "<class 'str'>\n",
      "18/12/11\n",
      "<class 'str'>\n",
      "18/12/11\n",
      "<class 'str'>\n",
      "20/12/11\n",
      "<class 'str'>\n",
      "20/12/11\n",
      "<class 'str'>\n",
      "21/12/11\n",
      "<class 'str'>\n",
      "21/12/11\n",
      "<class 'str'>\n",
      "21/12/11\n",
      "<class 'str'>\n",
      "21/12/11\n",
      "<class 'str'>\n",
      "21/12/11\n",
      "<class 'str'>\n",
      "21/12/11\n",
      "<class 'str'>\n",
      "21/12/11\n",
      "<class 'str'>\n",
      "22/12/11\n",
      "<class 'str'>\n",
      "26/12/11\n",
      "<class 'str'>\n",
      "26/12/11\n",
      "<class 'str'>\n",
      "26/12/11\n",
      "<class 'str'>\n",
      "26/12/11\n",
      "<class 'str'>\n",
      "26/12/11\n",
      "<class 'str'>\n",
      "26/12/11\n",
      "<class 'str'>\n",
      "26/12/11\n",
      "<class 'str'>\n",
      "27/12/11\n",
      "<class 'str'>\n",
      "27/12/11\n",
      "<class 'str'>\n",
      "27/12/11\n",
      "<class 'str'>\n",
      "30/12/11\n",
      "<class 'str'>\n",
      "31/12/11\n",
      "<class 'str'>\n",
      "31/12/11\n",
      "<class 'str'>\n",
      "31/12/11\n",
      "<class 'str'>\n",
      "31/12/11\n",
      "<class 'str'>\n",
      "31/12/11\n",
      "<class 'str'>\n",
      "31/12/11\n",
      "<class 'str'>\n",
      "31/12/11\n",
      "<class 'str'>\n",
      "01/01/12\n",
      "<class 'str'>\n",
      "01/01/12\n",
      "<class 'str'>\n",
      "02/01/12\n",
      "<class 'str'>\n",
      "02/01/12\n",
      "<class 'str'>\n",
      "02/01/12\n",
      "<class 'str'>\n",
      "02/01/12\n",
      "<class 'str'>\n",
      "02/01/12\n",
      "<class 'str'>\n",
      "03/01/12\n",
      "<class 'str'>\n",
      "03/01/12\n",
      "<class 'str'>\n",
      "03/01/12\n",
      "<class 'str'>\n",
      "04/01/12\n",
      "<class 'str'>\n",
      "04/01/12\n",
      "<class 'str'>\n",
      "11/01/12\n",
      "<class 'str'>\n",
      "14/01/12\n",
      "<class 'str'>\n",
      "14/01/12\n",
      "<class 'str'>\n",
      "14/01/12\n",
      "<class 'str'>\n",
      "14/01/12\n",
      "<class 'str'>\n",
      "14/01/12\n",
      "<class 'str'>\n",
      "14/01/12\n",
      "<class 'str'>\n",
      "14/01/12\n",
      "<class 'str'>\n",
      "15/01/12\n",
      "<class 'str'>\n",
      "15/01/12\n",
      "<class 'str'>\n",
      "16/01/12\n",
      "<class 'str'>\n",
      "21/01/12\n",
      "<class 'str'>\n",
      "21/01/12\n",
      "<class 'str'>\n",
      "21/01/12\n",
      "<class 'str'>\n",
      "21/01/12\n",
      "<class 'str'>\n",
      "21/01/12\n",
      "<class 'str'>\n",
      "21/01/12\n",
      "<class 'str'>\n",
      "21/01/12\n",
      "<class 'str'>\n",
      "21/01/12\n",
      "<class 'str'>\n",
      "22/01/12\n",
      "<class 'str'>\n",
      "22/01/12\n",
      "<class 'str'>\n",
      "31/01/12\n",
      "<class 'str'>\n",
      "31/01/12\n",
      "<class 'str'>\n",
      "31/01/12\n",
      "<class 'str'>\n",
      "31/01/12\n",
      "<class 'str'>\n",
      "31/01/12\n",
      "<class 'str'>\n",
      "01/02/12\n",
      "<class 'str'>\n",
      "01/02/12\n",
      "<class 'str'>\n",
      "01/02/12\n",
      "<class 'str'>\n",
      "01/02/12\n",
      "<class 'str'>\n",
      "01/02/12\n",
      "<class 'str'>\n",
      "04/02/12\n",
      "<class 'str'>\n",
      "04/02/12\n",
      "<class 'str'>\n",
      "04/02/12\n",
      "<class 'str'>\n",
      "04/02/12\n",
      "<class 'str'>\n",
      "04/02/12\n",
      "<class 'str'>\n",
      "04/02/12\n",
      "<class 'str'>\n",
      "04/02/12\n",
      "<class 'str'>\n",
      "05/02/12\n",
      "<class 'str'>\n",
      "05/02/12\n",
      "<class 'str'>\n",
      "06/02/12\n",
      "<class 'str'>\n",
      "11/02/12\n",
      "<class 'str'>\n",
      "11/02/12\n",
      "<class 'str'>\n",
      "11/02/12\n",
      "<class 'str'>\n",
      "11/02/12\n",
      "<class 'str'>\n",
      "11/02/12\n",
      "<class 'str'>\n",
      "11/02/12\n",
      "<class 'str'>\n",
      "11/02/12\n",
      "<class 'str'>\n",
      "11/02/12\n",
      "<class 'str'>\n",
      "12/02/12\n",
      "<class 'str'>\n",
      "12/02/12\n",
      "<class 'str'>\n",
      "25/02/12\n",
      "<class 'str'>\n",
      "25/02/12\n",
      "<class 'str'>\n",
      "25/02/12\n",
      "<class 'str'>\n",
      "25/02/12\n",
      "<class 'str'>\n",
      "25/02/12\n",
      "<class 'str'>\n",
      "25/02/12\n",
      "<class 'str'>\n",
      "26/02/12\n",
      "<class 'str'>\n",
      "26/02/12\n",
      "<class 'str'>\n",
      "26/02/12\n",
      "<class 'str'>\n",
      "03/03/12\n",
      "<class 'str'>\n",
      "03/03/12\n",
      "<class 'str'>\n",
      "03/03/12\n",
      "<class 'str'>\n",
      "03/03/12\n",
      "<class 'str'>\n",
      "03/03/12\n",
      "<class 'str'>\n",
      "03/03/12\n",
      "<class 'str'>\n",
      "03/03/12\n",
      "<class 'str'>\n",
      "04/03/12\n",
      "<class 'str'>\n",
      "04/03/12\n",
      "<class 'str'>\n",
      "04/03/12\n",
      "<class 'str'>\n",
      "10/03/12\n",
      "<class 'str'>\n",
      "10/03/12\n",
      "<class 'str'>\n",
      "10/03/12\n",
      "<class 'str'>\n",
      "10/03/12\n",
      "<class 'str'>\n",
      "10/03/12\n",
      "<class 'str'>\n",
      "10/03/12\n",
      "<class 'str'>\n",
      "11/03/12\n",
      "<class 'str'>\n",
      "11/03/12\n",
      "<class 'str'>\n",
      "11/03/12\n",
      "<class 'str'>\n",
      "12/03/12\n",
      "<class 'str'>\n",
      "13/03/12\n",
      "<class 'str'>\n",
      "17/03/12\n",
      "<class 'str'>\n",
      "17/03/12\n",
      "<class 'str'>\n",
      "18/03/12\n",
      "<class 'str'>\n",
      "18/03/12\n",
      "<class 'str'>\n",
      "20/03/12\n",
      "<class 'str'>\n",
      "21/03/12\n",
      "<class 'str'>\n",
      "21/03/12\n",
      "<class 'str'>\n",
      "21/03/12\n",
      "<class 'str'>\n",
      "21/03/12\n",
      "<class 'str'>\n",
      "24/03/12\n",
      "<class 'str'>\n",
      "24/03/12\n",
      "<class 'str'>\n",
      "24/03/12\n",
      "<class 'str'>\n",
      "24/03/12\n",
      "<class 'str'>\n",
      "24/03/12\n",
      "<class 'str'>\n",
      "24/03/12\n",
      "<class 'str'>\n",
      "24/03/12\n",
      "<class 'str'>\n",
      "24/03/12\n",
      "<class 'str'>\n",
      "25/03/12\n",
      "<class 'str'>\n",
      "26/03/12\n",
      "<class 'str'>\n",
      "31/03/12\n",
      "<class 'str'>\n",
      "31/03/12\n",
      "<class 'str'>\n",
      "31/03/12\n",
      "<class 'str'>\n",
      "31/03/12\n",
      "<class 'str'>\n",
      "31/03/12\n",
      "<class 'str'>\n",
      "31/03/12\n",
      "<class 'str'>\n",
      "31/03/12\n",
      "<class 'str'>\n",
      "01/04/12\n",
      "<class 'str'>\n",
      "01/04/12\n",
      "<class 'str'>\n",
      "02/04/12\n",
      "<class 'str'>\n",
      "06/04/12\n",
      "<class 'str'>\n",
      "07/04/12\n",
      "<class 'str'>\n",
      "07/04/12\n",
      "<class 'str'>\n",
      "07/04/12\n",
      "<class 'str'>\n",
      "07/04/12\n",
      "<class 'str'>\n",
      "07/04/12\n",
      "<class 'str'>\n",
      "07/04/12\n",
      "<class 'str'>\n",
      "07/04/12\n",
      "<class 'str'>\n",
      "08/04/12\n",
      "<class 'str'>\n",
      "08/04/12\n",
      "<class 'str'>\n",
      "09/04/12\n",
      "<class 'str'>\n",
      "09/04/12\n",
      "<class 'str'>\n",
      "09/04/12\n",
      "<class 'str'>\n",
      "09/04/12\n",
      "<class 'str'>\n",
      "09/04/12\n",
      "<class 'str'>\n",
      "10/04/12\n",
      "<class 'str'>\n",
      "11/04/12\n",
      "<class 'str'>\n",
      "11/04/12\n",
      "<class 'str'>\n",
      "11/04/12\n",
      "<class 'str'>\n",
      "11/04/12\n",
      "<class 'str'>\n",
      "14/04/12\n",
      "<class 'str'>\n",
      "14/04/12\n",
      "<class 'str'>\n",
      "14/04/12\n",
      "<class 'str'>\n",
      "14/04/12\n",
      "<class 'str'>\n",
      "15/04/12\n",
      "<class 'str'>\n",
      "16/04/12\n",
      "<class 'str'>\n",
      "21/04/12\n",
      "<class 'str'>\n",
      "21/04/12\n",
      "<class 'str'>\n",
      "21/04/12\n",
      "<class 'str'>\n",
      "21/04/12\n",
      "<class 'str'>\n",
      "21/04/12\n",
      "<class 'str'>\n",
      "21/04/12\n",
      "<class 'str'>\n",
      "21/04/12\n",
      "<class 'str'>\n",
      "22/04/12\n",
      "<class 'str'>\n",
      "22/04/12\n",
      "<class 'str'>\n",
      "22/04/12\n",
      "<class 'str'>\n",
      "24/04/12\n",
      "<class 'str'>\n",
      "28/04/12\n",
      "<class 'str'>\n",
      "28/04/12\n",
      "<class 'str'>\n",
      "28/04/12\n",
      "<class 'str'>\n",
      "28/04/12\n",
      "<class 'str'>\n",
      "28/04/12\n",
      "<class 'str'>\n",
      "28/04/12\n",
      "<class 'str'>\n",
      "28/04/12\n",
      "<class 'str'>\n",
      "29/04/12\n",
      "<class 'str'>\n",
      "29/04/12\n",
      "<class 'str'>\n",
      "30/04/12\n",
      "<class 'str'>\n",
      "01/05/12\n",
      "<class 'str'>\n",
      "01/05/12\n",
      "<class 'str'>\n",
      "02/05/12\n",
      "<class 'str'>\n",
      "02/05/12\n",
      "<class 'str'>\n",
      "05/05/12\n",
      "<class 'str'>\n",
      "06/05/12\n",
      "<class 'str'>\n",
      "06/05/12\n",
      "<class 'str'>\n",
      "06/05/12\n",
      "<class 'str'>\n",
      "06/05/12\n",
      "<class 'str'>\n",
      "06/05/12\n",
      "<class 'str'>\n",
      "06/05/12\n",
      "<class 'str'>\n",
      "06/05/12\n",
      "<class 'str'>\n",
      "07/05/12\n",
      "<class 'str'>\n",
      "08/05/12\n",
      "<class 'str'>\n",
      "13/05/12\n",
      "<class 'str'>\n",
      "13/05/12\n",
      "<class 'str'>\n",
      "13/05/12\n",
      "<class 'str'>\n",
      "13/05/12\n",
      "<class 'str'>\n",
      "13/05/12\n",
      "<class 'str'>\n",
      "13/05/12\n",
      "<class 'str'>\n",
      "13/05/12\n",
      "<class 'str'>\n",
      "13/05/12\n",
      "<class 'str'>\n",
      "13/05/12\n",
      "<class 'str'>\n",
      "13/05/12\n",
      "<class 'str'>\n",
      "14/08/10\n",
      "<class 'str'>\n",
      "14/08/10\n",
      "<class 'str'>\n",
      "14/08/10\n",
      "<class 'str'>\n",
      "14/08/10\n",
      "<class 'str'>\n",
      "14/08/10\n",
      "<class 'str'>\n",
      "14/08/10\n",
      "<class 'str'>\n",
      "14/08/10\n",
      "<class 'str'>\n",
      "14/08/10\n",
      "<class 'str'>\n",
      "15/08/10\n",
      "<class 'str'>\n",
      "16/08/10\n",
      "<class 'str'>\n",
      "21/08/10\n",
      "<class 'str'>\n",
      "21/08/10\n",
      "<class 'str'>\n",
      "21/08/10\n",
      "<class 'str'>\n",
      "21/08/10\n",
      "<class 'str'>\n",
      "21/08/10\n",
      "<class 'str'>\n",
      "21/08/10\n",
      "<class 'str'>\n",
      "21/08/10\n",
      "<class 'str'>\n",
      "22/08/10\n",
      "<class 'str'>\n",
      "22/08/10\n",
      "<class 'str'>\n",
      "23/08/10\n",
      "<class 'str'>\n",
      "28/08/10\n",
      "<class 'str'>\n",
      "28/08/10\n",
      "<class 'str'>\n",
      "28/08/10\n",
      "<class 'str'>\n",
      "28/08/10\n",
      "<class 'str'>\n",
      "28/08/10\n",
      "<class 'str'>\n",
      "28/08/10\n",
      "<class 'str'>\n",
      "29/08/10\n",
      "<class 'str'>\n",
      "29/08/10\n",
      "<class 'str'>\n",
      "29/08/10\n",
      "<class 'str'>\n",
      "29/08/10\n",
      "<class 'str'>\n",
      "11/09/10\n",
      "<class 'str'>\n",
      "11/09/10\n",
      "<class 'str'>\n",
      "11/09/10\n",
      "<class 'str'>\n",
      "11/09/10\n",
      "<class 'str'>\n",
      "11/09/10\n",
      "<class 'str'>\n",
      "11/09/10\n",
      "<class 'str'>\n",
      "11/09/10\n",
      "<class 'str'>\n",
      "11/09/10\n",
      "<class 'str'>\n",
      "12/09/10\n",
      "<class 'str'>\n",
      "13/09/10\n",
      "<class 'str'>\n",
      "18/09/10\n",
      "<class 'str'>\n",
      "18/09/10\n",
      "<class 'str'>\n",
      "18/09/10\n",
      "<class 'str'>\n",
      "18/09/10\n",
      "<class 'str'>\n",
      "18/09/10\n",
      "<class 'str'>\n",
      "18/09/10\n",
      "<class 'str'>\n",
      "18/09/10\n",
      "<class 'str'>\n",
      "19/09/10\n",
      "<class 'str'>\n",
      "19/09/10\n",
      "<class 'str'>\n",
      "19/09/10\n",
      "<class 'str'>\n",
      "25/09/10\n",
      "<class 'str'>\n",
      "25/09/10\n",
      "<class 'str'>\n",
      "25/09/10\n",
      "<class 'str'>\n",
      "25/09/10\n",
      "<class 'str'>\n",
      "25/09/10\n",
      "<class 'str'>\n",
      "25/09/10\n",
      "<class 'str'>\n",
      "25/09/10\n",
      "<class 'str'>\n",
      "26/09/10\n",
      "<class 'str'>\n",
      "26/09/10\n",
      "<class 'str'>\n",
      "26/09/10\n",
      "<class 'str'>\n",
      "02/10/10\n",
      "<class 'str'>\n",
      "02/10/10\n",
      "<class 'str'>\n",
      "02/10/10\n",
      "<class 'str'>\n",
      "02/10/10\n",
      "<class 'str'>\n",
      "02/10/10\n",
      "<class 'str'>\n",
      "02/10/10\n",
      "<class 'str'>\n",
      "02/10/10\n",
      "<class 'str'>\n",
      "03/10/10\n",
      "<class 'str'>\n",
      "03/10/10\n",
      "<class 'str'>\n",
      "03/10/10\n",
      "<class 'str'>\n",
      "16/10/10\n",
      "<class 'str'>\n",
      "16/10/10\n",
      "<class 'str'>\n",
      "16/10/10\n",
      "<class 'str'>\n",
      "16/10/10\n",
      "<class 'str'>\n",
      "16/10/10\n",
      "<class 'str'>\n",
      "16/10/10\n",
      "<class 'str'>\n",
      "16/10/10\n",
      "<class 'str'>\n",
      "17/10/10\n",
      "<class 'str'>\n",
      "17/10/10\n",
      "<class 'str'>\n",
      "18/10/10\n",
      "<class 'str'>\n",
      "23/10/10\n",
      "<class 'str'>\n",
      "23/10/10\n",
      "<class 'str'>\n",
      "23/10/10\n",
      "<class 'str'>\n",
      "23/10/10\n",
      "<class 'str'>\n",
      "23/10/10\n",
      "<class 'str'>\n",
      "23/10/10\n",
      "<class 'str'>\n",
      "23/10/10\n",
      "<class 'str'>\n",
      "24/10/10\n",
      "<class 'str'>\n",
      "24/10/10\n",
      "<class 'str'>\n",
      "24/10/10\n",
      "<class 'str'>\n",
      "30/10/10\n",
      "<class 'str'>\n",
      "30/10/10\n",
      "<class 'str'>\n",
      "30/10/10\n",
      "<class 'str'>\n",
      "30/10/10\n",
      "<class 'str'>\n",
      "30/10/10\n",
      "<class 'str'>\n",
      "30/10/10\n",
      "<class 'str'>\n",
      "31/10/10\n",
      "<class 'str'>\n",
      "31/10/10\n",
      "<class 'str'>\n",
      "31/10/10\n",
      "<class 'str'>\n",
      "01/11/10\n",
      "<class 'str'>\n",
      "06/11/10\n",
      "<class 'str'>\n",
      "06/11/10\n",
      "<class 'str'>\n",
      "06/11/10\n",
      "<class 'str'>\n",
      "06/11/10\n",
      "<class 'str'>\n",
      "06/11/10\n",
      "<class 'str'>\n",
      "06/11/10\n",
      "<class 'str'>\n",
      "06/11/10\n",
      "<class 'str'>\n",
      "07/11/10\n",
      "<class 'str'>\n",
      "07/11/10\n",
      "<class 'str'>\n",
      "07/11/10\n",
      "<class 'str'>\n",
      "09/11/10\n",
      "<class 'str'>\n",
      "09/11/10\n",
      "<class 'str'>\n",
      "10/11/10\n",
      "<class 'str'>\n",
      "10/11/10\n",
      "<class 'str'>\n",
      "10/11/10\n",
      "<class 'str'>\n",
      "10/11/10\n",
      "<class 'str'>\n",
      "10/11/10\n",
      "<class 'str'>\n",
      "10/11/10\n",
      "<class 'str'>\n",
      "10/11/10\n",
      "<class 'str'>\n",
      "10/11/10\n",
      "<class 'str'>\n",
      "13/11/10\n",
      "<class 'str'>\n",
      "13/11/10\n",
      "<class 'str'>\n",
      "13/11/10\n",
      "<class 'str'>\n",
      "13/11/10\n",
      "<class 'str'>\n",
      "13/11/10\n",
      "<class 'str'>\n",
      "13/11/10\n",
      "<class 'str'>\n",
      "13/11/10\n",
      "<class 'str'>\n",
      "13/11/10\n",
      "<class 'str'>\n",
      "14/11/10\n",
      "<class 'str'>\n",
      "14/11/10\n",
      "<class 'str'>\n",
      "20/11/10\n",
      "<class 'str'>\n",
      "20/11/10\n",
      "<class 'str'>\n",
      "20/11/10\n",
      "<class 'str'>\n",
      "20/11/10\n",
      "<class 'str'>\n",
      "20/11/10\n",
      "<class 'str'>\n",
      "20/11/10\n",
      "<class 'str'>\n",
      "20/11/10\n",
      "<class 'str'>\n",
      "21/11/10\n",
      "<class 'str'>\n",
      "21/11/10\n",
      "<class 'str'>\n",
      "22/11/10\n",
      "<class 'str'>\n",
      "27/11/10\n",
      "<class 'str'>\n",
      "27/11/10\n",
      "<class 'str'>\n",
      "27/11/10\n",
      "<class 'str'>\n",
      "27/11/10\n",
      "<class 'str'>\n",
      "27/11/10\n",
      "<class 'str'>\n",
      "27/11/10\n",
      "<class 'str'>\n",
      "27/11/10\n",
      "<class 'str'>\n",
      "27/11/10\n",
      "<class 'str'>\n",
      "28/11/10\n",
      "<class 'str'>\n",
      "28/11/10\n",
      "<class 'str'>\n",
      "04/12/10\n",
      "<class 'str'>\n",
      "04/12/10\n",
      "<class 'str'>\n",
      "04/12/10\n",
      "<class 'str'>\n",
      "04/12/10\n",
      "<class 'str'>\n",
      "04/12/10\n",
      "<class 'str'>\n",
      "04/12/10\n",
      "<class 'str'>\n",
      "05/12/10\n",
      "<class 'str'>\n",
      "05/12/10\n",
      "<class 'str'>\n",
      "06/12/10\n",
      "<class 'str'>\n",
      "11/12/10\n",
      "<class 'str'>\n",
      "11/12/10\n",
      "<class 'str'>\n",
      "11/12/10\n",
      "<class 'str'>\n",
      "11/12/10\n",
      "<class 'str'>\n",
      "11/12/10\n",
      "<class 'str'>\n",
      "11/12/10\n",
      "<class 'str'>\n",
      "12/12/10\n",
      "<class 'str'>\n",
      "12/12/10\n",
      "<class 'str'>\n",
      "12/12/10\n",
      "<class 'str'>\n",
      "13/12/10\n",
      "<class 'str'>\n",
      "18/12/10\n",
      "<class 'str'>\n",
      "18/12/10\n",
      "<class 'str'>\n",
      "20/12/10\n",
      "<class 'str'>\n",
      "26/12/10\n",
      "<class 'str'>\n",
      "26/12/10\n",
      "<class 'str'>\n",
      "26/12/10\n",
      "<class 'str'>\n",
      "26/12/10\n",
      "<class 'str'>\n",
      "26/12/10\n",
      "<class 'str'>\n",
      "26/12/10\n",
      "<class 'str'>\n",
      "26/12/10\n",
      "<class 'str'>\n",
      "27/12/10\n",
      "<class 'str'>\n",
      "28/12/10\n",
      "<class 'str'>\n",
      "28/12/10\n",
      "<class 'str'>\n",
      "28/12/10\n",
      "<class 'str'>\n",
      "28/12/10\n",
      "<class 'str'>\n",
      "28/12/10\n",
      "<class 'str'>\n",
      "28/12/10\n",
      "<class 'str'>\n",
      "28/12/10\n",
      "<class 'str'>\n",
      "29/12/10\n",
      "<class 'str'>\n",
      "29/12/10\n",
      "<class 'str'>\n",
      "29/12/10\n",
      "<class 'str'>\n",
      "01/01/11\n",
      "<class 'str'>\n",
      "01/01/11\n",
      "<class 'str'>\n",
      "01/01/11\n",
      "<class 'str'>\n",
      "01/01/11\n",
      "<class 'str'>\n",
      "01/01/11\n",
      "<class 'str'>\n",
      "01/01/11\n",
      "<class 'str'>\n",
      "01/01/11\n",
      "<class 'str'>\n",
      "01/01/11\n",
      "<class 'str'>\n",
      "02/01/11\n",
      "<class 'str'>\n",
      "02/01/11\n",
      "<class 'str'>\n",
      "04/01/11\n",
      "<class 'str'>\n",
      "04/01/11\n",
      "<class 'str'>\n",
      "04/01/11\n",
      "<class 'str'>\n",
      "05/01/11\n",
      "<class 'str'>\n",
      "05/01/11\n",
      "<class 'str'>\n",
      "05/01/11\n",
      "<class 'str'>\n",
      "05/01/11\n",
      "<class 'str'>\n",
      "05/01/11\n",
      "<class 'str'>\n",
      "05/01/11\n",
      "<class 'str'>\n",
      "05/01/11\n",
      "<class 'str'>\n",
      "12/01/11\n",
      "<class 'str'>\n",
      "15/01/11\n",
      "<class 'str'>\n",
      "15/01/11\n",
      "<class 'str'>\n",
      "15/01/11\n",
      "<class 'str'>\n",
      "15/01/11\n",
      "<class 'str'>\n",
      "15/01/11\n",
      "<class 'str'>\n",
      "15/01/11\n",
      "<class 'str'>\n",
      "16/01/11\n",
      "<class 'str'>\n",
      "16/01/11\n",
      "<class 'str'>\n",
      "16/01/11\n",
      "<class 'str'>\n",
      "16/01/11\n",
      "<class 'str'>\n",
      "22/01/11\n",
      "<class 'str'>\n",
      "22/01/11\n",
      "<class 'str'>\n",
      "22/01/11\n",
      "<class 'str'>\n",
      "22/01/11\n",
      "<class 'str'>\n",
      "22/01/11\n",
      "<class 'str'>\n",
      "22/01/11\n",
      "<class 'str'>\n",
      "22/01/11\n",
      "<class 'str'>\n",
      "22/01/11\n",
      "<class 'str'>\n",
      "23/01/11\n",
      "<class 'str'>\n",
      "24/01/11\n",
      "<class 'str'>\n",
      "25/01/11\n",
      "<class 'str'>\n",
      "25/01/11\n",
      "<class 'str'>\n",
      "26/01/11\n",
      "<class 'str'>\n",
      "01/02/11\n",
      "<class 'str'>\n",
      "01/02/11\n",
      "<class 'str'>\n",
      "01/02/11\n",
      "<class 'str'>\n",
      "01/02/11\n",
      "<class 'str'>\n",
      "02/02/11\n",
      "<class 'str'>\n",
      "02/02/11\n",
      "<class 'str'>\n",
      "02/02/11\n",
      "<class 'str'>\n",
      "02/02/11\n",
      "<class 'str'>\n",
      "02/02/11\n",
      "<class 'str'>\n",
      "02/02/11\n",
      "<class 'str'>\n",
      "05/02/11\n",
      "<class 'str'>\n",
      "05/02/11\n",
      "<class 'str'>\n",
      "05/02/11\n",
      "<class 'str'>\n",
      "05/02/11\n",
      "<class 'str'>\n",
      "05/02/11\n",
      "<class 'str'>\n",
      "05/02/11\n",
      "<class 'str'>\n",
      "05/02/11\n",
      "<class 'str'>\n",
      "05/02/11\n",
      "<class 'str'>\n",
      "06/02/11\n",
      "<class 'str'>\n",
      "06/02/11\n",
      "<class 'str'>\n",
      "12/02/11\n",
      "<class 'str'>\n",
      "12/02/11\n",
      "<class 'str'>\n",
      "12/02/11\n",
      "<class 'str'>\n",
      "12/02/11\n",
      "<class 'str'>\n",
      "12/02/11\n",
      "<class 'str'>\n",
      "12/02/11\n",
      "<class 'str'>\n",
      "12/02/11\n",
      "<class 'str'>\n",
      "12/02/11\n",
      "<class 'str'>\n",
      "13/02/11\n",
      "<class 'str'>\n",
      "14/02/11\n",
      "<class 'str'>\n",
      "15/02/11\n",
      "<class 'str'>\n",
      "20/02/11\n",
      "<class 'str'>\n",
      "22/02/11\n",
      "<class 'str'>\n",
      "23/02/11\n",
      "<class 'str'>\n",
      "26/02/11\n",
      "<class 'str'>\n",
      "26/02/11\n",
      "<class 'str'>\n",
      "26/02/11\n",
      "<class 'str'>\n",
      "26/02/11\n",
      "<class 'str'>\n",
      "26/02/11\n",
      "<class 'str'>\n",
      "27/02/11\n",
      "<class 'str'>\n",
      "27/02/11\n",
      "<class 'str'>\n",
      "28/02/11\n",
      "<class 'str'>\n",
      "01/03/11\n",
      "<class 'str'>\n",
      "05/03/11\n",
      "<class 'str'>\n",
      "05/03/11\n",
      "<class 'str'>\n",
      "05/03/11\n",
      "<class 'str'>\n",
      "05/03/11\n",
      "<class 'str'>\n",
      "05/03/11\n",
      "<class 'str'>\n",
      "05/03/11\n",
      "<class 'str'>\n",
      "05/03/11\n",
      "<class 'str'>\n",
      "06/03/11\n",
      "<class 'str'>\n",
      "06/03/11\n",
      "<class 'str'>\n",
      "07/03/11\n",
      "<class 'str'>\n",
      "09/03/11\n",
      "<class 'str'>\n",
      "19/03/11\n",
      "<class 'str'>\n",
      "19/03/11\n",
      "<class 'str'>\n",
      "19/03/11\n",
      "<class 'str'>\n",
      "19/03/11\n",
      "<class 'str'>\n",
      "19/03/11\n",
      "<class 'str'>\n",
      "19/03/11\n",
      "<class 'str'>\n",
      "19/03/11\n",
      "<class 'str'>\n",
      "19/03/11\n",
      "<class 'str'>\n",
      "20/03/11\n",
      "<class 'str'>\n",
      "20/03/11\n",
      "<class 'str'>\n",
      "02/04/11\n",
      "<class 'str'>\n",
      "02/04/11\n",
      "<class 'str'>\n",
      "02/04/11\n",
      "<class 'str'>\n",
      "02/04/11\n",
      "<class 'str'>\n",
      "02/04/11\n",
      "<class 'str'>\n",
      "02/04/11\n",
      "<class 'str'>\n",
      "02/04/11\n",
      "<class 'str'>\n",
      "02/04/11\n",
      "<class 'str'>\n",
      "03/04/11\n",
      "<class 'str'>\n",
      "03/04/11\n",
      "<class 'str'>\n",
      "09/04/11\n",
      "<class 'str'>\n",
      "09/04/11\n",
      "<class 'str'>\n",
      "09/04/11\n",
      "<class 'str'>\n",
      "09/04/11\n",
      "<class 'str'>\n",
      "09/04/11\n",
      "<class 'str'>\n",
      "09/04/11\n",
      "<class 'str'>\n",
      "09/04/11\n",
      "<class 'str'>\n",
      "10/04/11\n",
      "<class 'str'>\n",
      "10/04/11\n",
      "<class 'str'>\n",
      "11/04/11\n",
      "<class 'str'>\n",
      "16/04/11\n",
      "<class 'str'>\n",
      "16/04/11\n",
      "<class 'str'>\n",
      "16/04/11\n",
      "<class 'str'>\n",
      "16/04/11\n",
      "<class 'str'>\n",
      "16/04/11\n",
      "<class 'str'>\n",
      "17/04/11\n",
      "<class 'str'>\n",
      "19/04/11\n",
      "<class 'str'>\n",
      "20/04/11\n",
      "<class 'str'>\n",
      "20/04/11\n",
      "<class 'str'>\n",
      "23/04/11\n",
      "<class 'str'>\n",
      "23/04/11\n",
      "<class 'str'>\n",
      "23/04/11\n",
      "<class 'str'>\n",
      "23/04/11\n",
      "<class 'str'>\n",
      "23/04/11\n",
      "<class 'str'>\n",
      "23/04/11\n",
      "<class 'str'>\n",
      "23/04/11\n",
      "<class 'str'>\n",
      "23/04/11\n",
      "<class 'str'>\n",
      "24/04/11\n",
      "<class 'str'>\n",
      "25/04/11\n",
      "<class 'str'>\n",
      "26/04/11\n",
      "<class 'str'>\n",
      "27/04/11\n",
      "<class 'str'>\n",
      "30/04/11\n",
      "<class 'str'>\n",
      "30/04/11\n",
      "<class 'str'>\n",
      "30/04/11\n",
      "<class 'str'>\n",
      "30/04/11\n",
      "<class 'str'>\n",
      "30/04/11\n",
      "<class 'str'>\n",
      "30/04/11\n",
      "<class 'str'>\n",
      "01/05/11\n",
      "<class 'str'>\n",
      "01/05/11\n",
      "<class 'str'>\n",
      "01/05/11\n",
      "<class 'str'>\n",
      "01/05/11\n",
      "<class 'str'>\n",
      "07/05/11\n",
      "<class 'str'>\n",
      "07/05/11\n",
      "<class 'str'>\n",
      "07/05/11\n",
      "<class 'str'>\n",
      "07/05/11\n",
      "<class 'str'>\n",
      "07/05/11\n",
      "<class 'str'>\n",
      "07/05/11\n",
      "<class 'str'>\n",
      "08/05/11\n",
      "<class 'str'>\n",
      "08/05/11\n",
      "<class 'str'>\n",
      "08/05/11\n",
      "<class 'str'>\n",
      "09/05/11\n",
      "<class 'str'>\n",
      "10/05/11\n",
      "<class 'str'>\n",
      "14/05/11\n",
      "<class 'str'>\n",
      "14/05/11\n",
      "<class 'str'>\n",
      "14/05/11\n",
      "<class 'str'>\n",
      "14/05/11\n",
      "<class 'str'>\n",
      "15/05/11\n",
      "<class 'str'>\n",
      "15/05/11\n",
      "<class 'str'>\n",
      "15/05/11\n",
      "<class 'str'>\n",
      "15/05/11\n",
      "<class 'str'>\n",
      "15/05/11\n",
      "<class 'str'>\n",
      "17/05/11\n",
      "<class 'str'>\n",
      "22/05/11\n",
      "<class 'str'>\n",
      "22/05/11\n",
      "<class 'str'>\n",
      "22/05/11\n",
      "<class 'str'>\n",
      "22/05/11\n",
      "<class 'str'>\n",
      "22/05/11\n",
      "<class 'str'>\n",
      "22/05/11\n",
      "<class 'str'>\n",
      "22/05/11\n",
      "<class 'str'>\n",
      "22/05/11\n",
      "<class 'str'>\n",
      "22/05/11\n",
      "<class 'str'>\n",
      "22/05/11\n"
     ]
    }
   ],
   "source": [
    "def parse_date(date):\n",
    "#     print(type(date))\n",
    "    data=str(date)\n",
    "    print(type(date))\n",
    "    print(date)\n",
    "    if date==\"\":\n",
    "        return None\n",
    "    else:\n",
    "        return dt.strptime(date,\"%d/%m/%y\").date()\n",
    "    \n",
    "# raw_data_1.Date=raw_data_1.Date.apply(parse_date)\n",
    "# raw_data_2.Date=raw_data_2.Date.apply(parse_date)\n",
    "# raw_data_3.Date=raw_data_3.Date.apply(parse_date)\n",
    "raw_data_4.Date=raw_data_4.Date.apply(parse_date)\n",
    "raw_data_5.Date=raw_data_5.Date.apply(parse_date)\n",
    "raw_data_6.Date=raw_data_6.Date.apply(parse_date)\n",
    "raw_data_7.Date=raw_data_7.Date.apply(parse_date)\n",
    "raw_data_8.Date=raw_data_8.Date.apply(parse_date)\n",
    "        "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 333,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(380, 65)\n",
      "(380, 65)\n",
      "(380, 68)\n",
      "(380, 68)\n",
      "(380, 74)\n",
      "(380, 71)\n",
      "(380, 71)\n"
     ]
    }
   ],
   "source": [
    "# print(raw_data_1.shape)\n",
    "print(raw_data_2.shape)\n",
    "print(raw_data_3.shape)\n",
    "# raw_data_4.columns[raw_data_3.columns==raw_data_4.columns[:-3]]\n",
    "# print(raw_data_3.columns)\n",
    "# print(raw_data_4.columns)\n",
    "\n",
    "# print(raw_data_4.columns[:-3])\n",
    "print(raw_data_4.shape)\n",
    "print(raw_data_5.shape)\n",
    "print(raw_data_6.shape)\n",
    "print(raw_data_7.shape)\n",
    "print(raw_data_8.shape)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 334,
   "metadata": {},
   "outputs": [],
   "source": [
    "columns_req = ['Date','HomeTeam','AwayTeam','FTHG','FTAG','FTR']\n",
    "# playing_statistics_1=raw_data_1[columns_req]\n",
    "playing_statistics_2=raw_data_2[columns_req]\n",
    "playing_statistics_3=raw_data_3[columns_req]\n",
    "playing_statistics_4=raw_data_4[columns_req]\n",
    "playing_statistics_5=raw_data_5[columns_req]\n",
    "playing_statistics_6=raw_data_6[columns_req]\n",
    "playing_statistics_7=raw_data_7[columns_req]\n",
    "playing_statistics_8=raw_data_8[columns_req]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 335,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Date</th>\n",
       "      <th>HomeTeam</th>\n",
       "      <th>AwayTeam</th>\n",
       "      <th>FTHG</th>\n",
       "      <th>FTAG</th>\n",
       "      <th>FTR</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>08/08/15</td>\n",
       "      <td>Bournemouth</td>\n",
       "      <td>Aston Villa</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>A</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>08/08/15</td>\n",
       "      <td>Chelsea</td>\n",
       "      <td>Swansea</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>D</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>08/08/15</td>\n",
       "      <td>Everton</td>\n",
       "      <td>Watford</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>D</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>08/08/15</td>\n",
       "      <td>Leicester</td>\n",
       "      <td>Sunderland</td>\n",
       "      <td>4</td>\n",
       "      <td>2</td>\n",
       "      <td>H</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>08/08/15</td>\n",
       "      <td>Man United</td>\n",
       "      <td>Tottenham</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>H</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "       Date     HomeTeam     AwayTeam  FTHG  FTAG FTR\n",
       "0  08/08/15  Bournemouth  Aston Villa     0     1   A\n",
       "1  08/08/15      Chelsea      Swansea     2     2   D\n",
       "2  08/08/15      Everton      Watford     2     2   D\n",
       "3  08/08/15    Leicester   Sunderland     4     2   H\n",
       "4  08/08/15   Man United    Tottenham     1     0   H"
      ]
     },
     "execution_count": 335,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "playing_statistics_3.head()\n",
    "# print(playing_statistics_1.shape)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 336,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "check Arsenal \n",
      "\n",
      "check Bournemouth \n",
      "\n",
      "check Burnley \n",
      "\n",
      "check Chelsea \n",
      "\n",
      "check Crystal Palace \n",
      "\n",
      "check Everton \n",
      "\n",
      "check Hull \n",
      "\n",
      "check Leicester \n",
      "\n",
      "check Liverpool \n",
      "\n",
      "check Man City \n",
      "\n",
      "check Man United \n",
      "\n",
      "check Middlesbrough \n",
      "\n",
      "check Southampton \n",
      "\n",
      "check Stoke \n",
      "\n",
      "check Sunderland \n",
      "\n",
      "check Swansea \n",
      "\n",
      "check Tottenham \n",
      "\n",
      "check Watford \n",
      "\n",
      "check West Brom \n",
      "\n",
      "check West Ham \n",
      "\n",
      "get_goals_scored\n",
      "check Arsenal \n",
      "\n",
      "check Bournemouth \n",
      "\n",
      "check Burnley \n",
      "\n",
      "check Chelsea \n",
      "\n",
      "check Crystal Palace \n",
      "\n",
      "check Everton \n",
      "\n",
      "check Hull \n",
      "\n",
      "check Leicester \n",
      "\n",
      "check Liverpool \n",
      "\n",
      "check Man City \n",
      "\n",
      "check Man United \n",
      "\n",
      "check Middlesbrough \n",
      "\n",
      "check Southampton \n",
      "\n",
      "check Stoke \n",
      "\n",
      "check Sunderland \n",
      "\n",
      "check Swansea \n",
      "\n",
      "check Tottenham \n",
      "\n",
      "check Watford \n",
      "\n",
      "check West Brom \n",
      "\n",
      "check West Ham \n",
      "\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "C:\\Users\\krishna\\Anaconda3\\envs\\tensorflow\\lib\\site-packages\\ipykernel_launcher.py:90: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n",
      "C:\\Users\\krishna\\Anaconda3\\envs\\tensorflow\\lib\\site-packages\\ipykernel_launcher.py:91: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n",
      "C:\\Users\\krishna\\Anaconda3\\envs\\tensorflow\\lib\\site-packages\\ipykernel_launcher.py:92: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n",
      "C:\\Users\\krishna\\Anaconda3\\envs\\tensorflow\\lib\\site-packages\\ipykernel_launcher.py:93: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "check Arsenal \n",
      "\n",
      "check Aston Villa \n",
      "\n",
      "check Bournemouth \n",
      "\n",
      "check Chelsea \n",
      "\n",
      "check Crystal Palace \n",
      "\n",
      "check Everton \n",
      "\n",
      "check Leicester \n",
      "\n",
      "check Liverpool \n",
      "\n",
      "check Man City \n",
      "\n",
      "check Man United \n",
      "\n",
      "check Newcastle \n",
      "\n",
      "check Norwich \n",
      "\n",
      "check Southampton \n",
      "\n",
      "check Stoke \n",
      "\n",
      "check Sunderland \n",
      "\n",
      "check Swansea \n",
      "\n",
      "check Tottenham \n",
      "\n",
      "check Watford \n",
      "\n",
      "check West Brom \n",
      "\n",
      "check West Ham \n",
      "\n",
      "get_goals_scored\n",
      "check Arsenal \n",
      "\n",
      "check Aston Villa \n",
      "\n",
      "check Bournemouth \n",
      "\n",
      "check Chelsea \n",
      "\n",
      "check Crystal Palace \n",
      "\n",
      "check Everton \n",
      "\n",
      "check Leicester \n",
      "\n",
      "check Liverpool \n",
      "\n",
      "check Man City \n",
      "\n",
      "check Man United \n",
      "\n",
      "check Newcastle \n",
      "\n",
      "check Norwich \n",
      "\n",
      "check Southampton \n",
      "\n",
      "check Stoke \n",
      "\n",
      "check Sunderland \n",
      "\n",
      "check Swansea \n",
      "\n",
      "check Tottenham \n",
      "\n",
      "check Watford \n",
      "\n",
      "check West Brom \n",
      "\n",
      "check West Ham \n",
      "\n",
      "check Arsenal \n",
      "\n",
      "check Aston Villa \n",
      "\n",
      "check Burnley \n",
      "\n",
      "check Chelsea \n",
      "\n",
      "check Crystal Palace \n",
      "\n",
      "check Everton \n",
      "\n",
      "check Hull \n",
      "\n",
      "check Leicester \n",
      "\n",
      "check Liverpool \n",
      "\n",
      "check Man City \n",
      "\n",
      "check Man United \n",
      "\n",
      "check Newcastle \n",
      "\n",
      "check QPR \n",
      "\n",
      "check Southampton \n",
      "\n",
      "check Stoke \n",
      "\n",
      "check Sunderland \n",
      "\n",
      "check Swansea \n",
      "\n",
      "check Tottenham \n",
      "\n",
      "check West Brom \n",
      "\n",
      "check West Ham \n",
      "\n",
      "get_goals_scored\n",
      "check Arsenal \n",
      "\n",
      "check Aston Villa \n",
      "\n",
      "check Burnley \n",
      "\n",
      "check Chelsea \n",
      "\n",
      "check Crystal Palace \n",
      "\n",
      "check Everton \n",
      "\n",
      "check Hull \n",
      "\n",
      "check Leicester \n",
      "\n",
      "check Liverpool \n",
      "\n",
      "check Man City \n",
      "\n",
      "check Man United \n",
      "\n",
      "check Newcastle \n",
      "\n",
      "check QPR \n",
      "\n",
      "check Southampton \n",
      "\n",
      "check Stoke \n",
      "\n",
      "check Sunderland \n",
      "\n",
      "check Swansea \n",
      "\n",
      "check Tottenham \n",
      "\n",
      "check West Brom \n",
      "\n",
      "check West Ham \n",
      "\n",
      "check Arsenal \n",
      "\n",
      "check Aston Villa \n",
      "\n",
      "check Cardiff \n",
      "\n",
      "check Chelsea \n",
      "\n",
      "check Crystal Palace \n",
      "\n",
      "check Everton \n",
      "\n",
      "check Fulham \n",
      "\n",
      "check Hull \n",
      "\n",
      "check Liverpool \n",
      "\n",
      "check Man City \n",
      "\n",
      "check Man United \n",
      "\n",
      "check Newcastle \n",
      "\n",
      "check Norwich \n",
      "\n",
      "check Southampton \n",
      "\n",
      "check Stoke \n",
      "\n",
      "check Sunderland \n",
      "\n",
      "check Swansea \n",
      "\n",
      "check Tottenham \n",
      "\n",
      "check West Brom \n",
      "\n",
      "check West Ham \n",
      "\n",
      "get_goals_scored\n",
      "check Arsenal \n",
      "\n",
      "check Aston Villa \n",
      "\n",
      "check Cardiff \n",
      "\n",
      "check Chelsea \n",
      "\n",
      "check Crystal Palace \n",
      "\n",
      "check Everton \n",
      "\n",
      "check Fulham \n",
      "\n",
      "check Hull \n",
      "\n",
      "check Liverpool \n",
      "\n",
      "check Man City \n",
      "\n",
      "check Man United \n",
      "\n",
      "check Newcastle \n",
      "\n",
      "check Norwich \n",
      "\n",
      "check Southampton \n",
      "\n",
      "check Stoke \n",
      "\n",
      "check Sunderland \n",
      "\n",
      "check Swansea \n",
      "\n",
      "check Tottenham \n",
      "\n",
      "check West Brom \n",
      "\n",
      "check West Ham \n",
      "\n",
      "check Arsenal \n",
      "\n",
      "check Aston Villa \n",
      "\n",
      "check Chelsea \n",
      "\n",
      "check Everton \n",
      "\n",
      "check Fulham \n",
      "\n",
      "check Liverpool \n",
      "\n",
      "check Man City \n",
      "\n",
      "check Man United \n",
      "\n",
      "check Newcastle \n",
      "\n",
      "check Norwich \n",
      "\n",
      "check QPR \n",
      "\n",
      "check Reading \n",
      "\n",
      "check Southampton \n",
      "\n",
      "check Stoke \n",
      "\n",
      "check Sunderland \n",
      "\n",
      "check Swansea \n",
      "\n",
      "check Tottenham \n",
      "\n",
      "check West Brom \n",
      "\n",
      "check West Ham \n",
      "\n",
      "check Wigan \n",
      "\n",
      "get_goals_scored\n",
      "check Arsenal \n",
      "\n",
      "check Aston Villa \n",
      "\n",
      "check Chelsea \n",
      "\n",
      "check Everton \n",
      "\n",
      "check Fulham \n",
      "\n",
      "check Liverpool \n",
      "\n",
      "check Man City \n",
      "\n",
      "check Man United \n",
      "\n",
      "check Newcastle \n",
      "\n",
      "check Norwich \n",
      "\n",
      "check QPR \n",
      "\n",
      "check Reading \n",
      "\n",
      "check Southampton \n",
      "\n",
      "check Stoke \n",
      "\n",
      "check Sunderland \n",
      "\n",
      "check Swansea \n",
      "\n",
      "check Tottenham \n",
      "\n",
      "check West Brom \n",
      "\n",
      "check West Ham \n",
      "\n",
      "check Wigan \n",
      "\n",
      "check Arsenal \n",
      "\n",
      "check Aston Villa \n",
      "\n",
      "check Blackburn \n",
      "\n",
      "check Bolton \n",
      "\n",
      "check Chelsea \n",
      "\n",
      "check Everton \n",
      "\n",
      "check Fulham \n",
      "\n",
      "check Liverpool \n",
      "\n",
      "check Man City \n",
      "\n",
      "check Man United \n",
      "\n",
      "check Newcastle \n",
      "\n",
      "check Norwich \n",
      "\n",
      "check QPR \n",
      "\n",
      "check Stoke \n",
      "\n",
      "check Sunderland \n",
      "\n",
      "check Swansea \n",
      "\n",
      "check Tottenham \n",
      "\n",
      "check West Brom \n",
      "\n",
      "check Wigan \n",
      "\n",
      "check Wolves \n",
      "\n",
      "get_goals_scored\n",
      "check Arsenal \n",
      "\n",
      "check Aston Villa \n",
      "\n",
      "check Blackburn \n",
      "\n",
      "check Bolton \n",
      "\n",
      "check Chelsea \n",
      "\n",
      "check Everton \n",
      "\n",
      "check Fulham \n",
      "\n",
      "check Liverpool \n",
      "\n",
      "check Man City \n",
      "\n",
      "check Man United \n",
      "\n",
      "check Newcastle \n",
      "\n",
      "check Norwich \n",
      "\n",
      "check QPR \n",
      "\n",
      "check Stoke \n",
      "\n",
      "check Sunderland \n",
      "\n",
      "check Swansea \n",
      "\n",
      "check Tottenham \n",
      "\n",
      "check West Brom \n",
      "\n",
      "check Wigan \n",
      "\n",
      "check Wolves \n",
      "\n",
      "check Arsenal \n",
      "\n",
      "check Aston Villa \n",
      "\n",
      "check Birmingham \n",
      "\n",
      "check Blackburn \n",
      "\n",
      "check Blackpool \n",
      "\n",
      "check Bolton \n",
      "\n",
      "check Chelsea \n",
      "\n",
      "check Everton \n",
      "\n",
      "check Fulham \n",
      "\n",
      "check Liverpool \n",
      "\n",
      "check Man City \n",
      "\n",
      "check Man United \n",
      "\n",
      "check Newcastle \n",
      "\n",
      "check Stoke \n",
      "\n",
      "check Sunderland \n",
      "\n",
      "check Tottenham \n",
      "\n",
      "check West Brom \n",
      "\n",
      "check West Ham \n",
      "\n",
      "check Wigan \n",
      "\n",
      "check Wolves \n",
      "\n",
      "get_goals_scored\n",
      "check Arsenal \n",
      "\n",
      "check Aston Villa \n",
      "\n",
      "check Birmingham \n",
      "\n",
      "check Blackburn \n",
      "\n",
      "check Blackpool \n",
      "\n",
      "check Bolton \n",
      "\n",
      "check Chelsea \n",
      "\n",
      "check Everton \n",
      "\n",
      "check Fulham \n",
      "\n",
      "check Liverpool \n",
      "\n",
      "check Man City \n",
      "\n",
      "check Man United \n",
      "\n",
      "check Newcastle \n",
      "\n",
      "check Stoke \n",
      "\n",
      "check Sunderland \n",
      "\n",
      "check Tottenham \n",
      "\n",
      "check West Brom \n",
      "\n",
      "check West Ham \n",
      "\n",
      "check Wigan \n",
      "\n",
      "check Wolves \n",
      "\n"
     ]
    }
   ],
   "source": [
    "def get_goals_scored(playing_stat):\n",
    "    print(\"get_goals_scored\")\n",
    "    # Create a dictionary with team names as keys\n",
    "    teams = {}\n",
    "    for i in playing_stat.groupby('HomeTeam').mean().T.columns:\n",
    "        print(\"check {} \\n\".format(i))\n",
    "        teams[i] = []\n",
    "    \n",
    "    # the value corresponding to keys is a list containing the match location.\n",
    "    for i in range(len(playing_stat)):\n",
    "        HTGS = playing_stat.iloc[i]['FTHG']\n",
    "        ATGS = playing_stat.iloc[i]['FTAG']\n",
    "        teams[playing_stat.iloc[i].HomeTeam].append(HTGS)\n",
    "        teams[playing_stat.iloc[i].AwayTeam].append(ATGS)\n",
    "        \n",
    "#     for i in teams.keys():\n",
    "#         print(\"check\",len(teams[i]))\n",
    "#         print(teams[i])\n",
    "#         if len(teams[i])==31:\n",
    "#             teams[i]=teams[i][:-1]\n",
    "#             print(\"check\",len(teams[i]))\n",
    "#     print(\"teams\",len(teams[\"Arsenal\"]))\n",
    "#     print(teams)\n",
    "    # Create a dataframe for goals scored where rows are teams and cols are matchweek.\n",
    "    GoalsScored = pd.DataFrame(data=teams, index = [i for i in range(1,39)]).T\n",
    "    GoalsScored[0] = 0\n",
    "    # Aggregate to get uptil that point\n",
    "    for i in range(2,39):\n",
    "        GoalsScored[i] = GoalsScored[i] + GoalsScored[i-1]\n",
    "    return GoalsScored\n",
    "\n",
    "\n",
    "\n",
    "# Gets the goals conceded agg arranged by teams and matchweek\n",
    "def get_goals_conceded(playing_stat):\n",
    "    # Create a dictionary with team names as keys\n",
    "    teams = {}\n",
    "    for i in playing_stat.groupby('HomeTeam').mean().T.columns:\n",
    "        print(\"check {} \\n\".format(i))\n",
    "        teams[i] = []\n",
    "    \n",
    "    # the value corresponding to keys is a list containing the match location.\n",
    "    for i in range(len(playing_stat)):\n",
    "        ATGC = playing_stat.iloc[i]['FTHG']\n",
    "        HTGC = playing_stat.iloc[i]['FTAG']\n",
    "        teams[playing_stat.iloc[i].HomeTeam].append(HTGC)\n",
    "        teams[playing_stat.iloc[i].AwayTeam].append(ATGC)\n",
    "#     print(len(teams.keys))\n",
    "#     for i in teams.keys():\n",
    "#         print(\"check\",len(teams[i]))\n",
    "#         print(teams[i])\n",
    "#         if len(teams[i])==31:\n",
    "#             teams[i]=teams[i][:-1]\n",
    "#             print(\"check\",len(teams[i]))\n",
    "#     print(\"teams\",len(teams[\"Arsenal\"]))\n",
    "#     print(teams)\n",
    "    \n",
    "    # Create a dataframe for goals scored where rows are teams and cols are matchweek.\n",
    "    GoalsConceded = pd.DataFrame(data=teams, index = [i for i in range(1,39)]).T\n",
    "    GoalsConceded[0] = 0\n",
    "    # Aggregate to get uptil that point\n",
    "    for i in range(2,len(teams[\"Arsenal\"])+1):\n",
    "        GoalsConceded[i] = GoalsConceded[i] + GoalsConceded[i-1]\n",
    "    return GoalsConceded\n",
    "\n",
    "def get_gss(playing_stat):\n",
    "    GC = get_goals_conceded(playing_stat)\n",
    "    GS = get_goals_scored(playing_stat)\n",
    "   \n",
    "    j = 0\n",
    "    HTGS = []\n",
    "    ATGS = []\n",
    "    HTGC = []\n",
    "    ATGC = []\n",
    "\n",
    "    for i in range(380):\n",
    "        ht = playing_stat.iloc[i].HomeTeam\n",
    "        at = playing_stat.iloc[i].AwayTeam\n",
    "        HTGS.append(GS.loc[ht][j])\n",
    "        ATGS.append(GS.loc[at][j])\n",
    "        HTGC.append(GC.loc[ht][j])\n",
    "        ATGC.append(GC.loc[at][j])\n",
    "        \n",
    "        if ((i + 1)% 10) == 0:\n",
    "            j = j + 1\n",
    "    \n",
    "#     print(\"check line 87\")\n",
    "#     print(playing_stat.shape,len(HTGS))\n",
    "    \n",
    "    playing_stat['HTGS'] = HTGS\n",
    "    playing_stat['ATGS'] = ATGS\n",
    "    playing_stat['HTGC'] = HTGC\n",
    "    playing_stat['ATGC'] = ATGC\n",
    "    \n",
    "    return playing_stat\n",
    "\n",
    "\n",
    "# Apply to each dataset\n",
    "# playing_statistics_1 = get_gss(playing_statistics_1)\n",
    "# print(playing_statistics_1.head())\n",
    "playing_statistics_2 = get_gss(playing_statistics_2)\n",
    "playing_statistics_3 = get_gss(playing_statistics_3)\n",
    "playing_statistics_4 = get_gss(playing_statistics_4)\n",
    "playing_statistics_5 = get_gss(playing_statistics_5)\n",
    "playing_statistics_6 = get_gss(playing_statistics_6)\n",
    "playing_statistics_7 = get_gss(playing_statistics_7)\n",
    "playing_statistics_8 = get_gss(playing_statistics_8)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 337,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Date</th>\n",
       "      <th>HomeTeam</th>\n",
       "      <th>AwayTeam</th>\n",
       "      <th>FTHG</th>\n",
       "      <th>FTAG</th>\n",
       "      <th>FTR</th>\n",
       "      <th>HTGS</th>\n",
       "      <th>ATGS</th>\n",
       "      <th>HTGC</th>\n",
       "      <th>ATGC</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>08/08/15</td>\n",
       "      <td>Bournemouth</td>\n",
       "      <td>Aston Villa</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>A</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>08/08/15</td>\n",
       "      <td>Chelsea</td>\n",
       "      <td>Swansea</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>D</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>08/08/15</td>\n",
       "      <td>Everton</td>\n",
       "      <td>Watford</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>D</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>08/08/15</td>\n",
       "      <td>Leicester</td>\n",
       "      <td>Sunderland</td>\n",
       "      <td>4</td>\n",
       "      <td>2</td>\n",
       "      <td>H</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>08/08/15</td>\n",
       "      <td>Man United</td>\n",
       "      <td>Tottenham</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>H</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "       Date     HomeTeam     AwayTeam  FTHG  FTAG FTR  HTGS  ATGS  HTGC  ATGC\n",
       "0  08/08/15  Bournemouth  Aston Villa     0     1   A     0     0     0     0\n",
       "1  08/08/15      Chelsea      Swansea     2     2   D     0     0     0     0\n",
       "2  08/08/15      Everton      Watford     2     2   D     0     0     0     0\n",
       "3  08/08/15    Leicester   Sunderland     4     2   H     0     0     0     0\n",
       "4  08/08/15   Man United    Tottenham     1     0   H     0     0     0     0"
      ]
     },
     "execution_count": 337,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "playing_statistics_3.head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 338,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "playing_statistics_2\n",
      "here\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "C:\\Users\\krishna\\Anaconda3\\envs\\tensorflow\\lib\\site-packages\\ipykernel_launcher.py:64: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n",
      "C:\\Users\\krishna\\Anaconda3\\envs\\tensorflow\\lib\\site-packages\\ipykernel_launcher.py:65: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "playing_statistics_3\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n"
     ]
    }
   ],
   "source": [
    "def get_points(result):\n",
    "    if result == 'W':\n",
    "        return 3\n",
    "    elif result == 'D':\n",
    "        return 1\n",
    "    else:\n",
    "        return 0\n",
    "    \n",
    "\n",
    "def get_cuml_points(matchres):\n",
    "    matchres_points = matchres.applymap(get_points)\n",
    "    for i in range(2,31):\n",
    "        matchres_points[i] = matchres_points[i] + matchres_points[i-1]\n",
    "        \n",
    "    matchres_points.insert(column =0, loc = 0, value = [0*i for i in range(20)])\n",
    "    return matchres_points\n",
    "\n",
    "\n",
    "def get_matchres(playing_stat):\n",
    "    print(\"here\")\n",
    "    # Create a dictionary with team names as keys\n",
    "    teams = {}\n",
    "    for i in playing_stat.groupby('HomeTeam').mean().T.columns:\n",
    "        teams[i] = []\n",
    "\n",
    "    # the value corresponding to keys is a list containing the match result\n",
    "    for i in range(len(playing_stat)):\n",
    "        if playing_stat.iloc[i].FTR == 'H':\n",
    "            teams[playing_stat.iloc[i].HomeTeam].append('W')\n",
    "            teams[playing_stat.iloc[i].AwayTeam].append('L')\n",
    "        elif playing_stat.iloc[i].FTR == 'A':\n",
    "            teams[playing_stat.iloc[i].AwayTeam].append('W')\n",
    "            teams[playing_stat.iloc[i].HomeTeam].append('L')\n",
    "        else:\n",
    "            teams[playing_stat.iloc[i].AwayTeam].append('D')\n",
    "            teams[playing_stat.iloc[i].HomeTeam].append('D')\n",
    "    \n",
    "#     for i in teams.keys():\n",
    "#         print(\"check\",len(teams[i]))\n",
    "#         print(teams[i])\n",
    "#         if len(teams[i])>=31:\n",
    "#             teams[i]=teams[i][:30]\n",
    "#             print(\"check\",len(teams[i]))\n",
    "#     print(\"teams\",len(teams[\"Arsenal\"]))\n",
    "#     print(teams)\n",
    "            \n",
    "    return pd.DataFrame(data=teams, index = [i for i in range(1,39)]).T\n",
    "\n",
    "def get_agg_points(playing_stat):\n",
    "    matchres = get_matchres(playing_stat)\n",
    "    cum_pts = get_cuml_points(matchres)\n",
    "    HTP = []\n",
    "    ATP = []\n",
    "    j = 0\n",
    "    for i in range(380):\n",
    "        ht = playing_stat.iloc[i].HomeTeam\n",
    "        at = playing_stat.iloc[i].AwayTeam\n",
    "        HTP.append(cum_pts.loc[ht][j])\n",
    "        ATP.append(cum_pts.loc[at][j])\n",
    "\n",
    "        if ((i + 1)% 10) == 0:\n",
    "            j = j + 1\n",
    "            \n",
    "    playing_stat['HTP'] = HTP\n",
    "    playing_stat['ATP'] = ATP\n",
    "    return playing_stat\n",
    "    \n",
    "# Apply to each dataset\n",
    "# playing_statistics_1 = get_agg_points(playing_statistics_1)\n",
    "print(\"playing_statistics_2\")\n",
    "playing_statistics_2 = get_agg_points(playing_statistics_2)\n",
    "print(\"playing_statistics_3\")\n",
    "playing_statistics_3 = get_agg_points(playing_statistics_3)\n",
    "playing_statistics_3 = get_agg_points(playing_statistics_4)\n",
    "playing_statistics_4 = get_agg_points(playing_statistics_5)\n",
    "playing_statistics_5 = get_agg_points(playing_statistics_6)\n",
    "playing_statistics_7 = get_agg_points(playing_statistics_7)\n",
    "playing_statistics_8 = get_agg_points(playing_statistics_8)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 339,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Date</th>\n",
       "      <th>HomeTeam</th>\n",
       "      <th>AwayTeam</th>\n",
       "      <th>FTHG</th>\n",
       "      <th>FTAG</th>\n",
       "      <th>FTR</th>\n",
       "      <th>HTGS</th>\n",
       "      <th>ATGS</th>\n",
       "      <th>HTGC</th>\n",
       "      <th>ATGC</th>\n",
       "      <th>HTP</th>\n",
       "      <th>ATP</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>2014-08-16</td>\n",
       "      <td>Arsenal</td>\n",
       "      <td>Crystal Palace</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>H</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2014-08-16</td>\n",
       "      <td>Leicester</td>\n",
       "      <td>Everton</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>D</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>2014-08-16</td>\n",
       "      <td>Man United</td>\n",
       "      <td>Swansea</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>A</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>2014-08-16</td>\n",
       "      <td>QPR</td>\n",
       "      <td>Hull</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>A</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>2014-08-16</td>\n",
       "      <td>Stoke</td>\n",
       "      <td>Aston Villa</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>A</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>2014-08-16</td>\n",
       "      <td>West Brom</td>\n",
       "      <td>Sunderland</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>D</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>2014-08-16</td>\n",
       "      <td>West Ham</td>\n",
       "      <td>Tottenham</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>A</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>2014-08-17</td>\n",
       "      <td>Liverpool</td>\n",
       "      <td>Southampton</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>H</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>2014-08-17</td>\n",
       "      <td>Newcastle</td>\n",
       "      <td>Man City</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>A</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>2014-08-18</td>\n",
       "      <td>Burnley</td>\n",
       "      <td>Chelsea</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "      <td>A</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>2014-08-23</td>\n",
       "      <td>Aston Villa</td>\n",
       "      <td>Newcastle</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>D</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>2014-08-23</td>\n",
       "      <td>Chelsea</td>\n",
       "      <td>Leicester</td>\n",
       "      <td>2</td>\n",
       "      <td>0</td>\n",
       "      <td>H</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>2014-08-23</td>\n",
       "      <td>Crystal Palace</td>\n",
       "      <td>West Ham</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "      <td>A</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>2014-08-23</td>\n",
       "      <td>Everton</td>\n",
       "      <td>Arsenal</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>D</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>2014-08-23</td>\n",
       "      <td>Southampton</td>\n",
       "      <td>West Brom</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>D</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>2014-08-23</td>\n",
       "      <td>Swansea</td>\n",
       "      <td>Burnley</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>H</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>2014-08-24</td>\n",
       "      <td>Hull</td>\n",
       "      <td>Stoke</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>D</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>2014-08-24</td>\n",
       "      <td>Sunderland</td>\n",
       "      <td>Man United</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>D</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>2014-08-24</td>\n",
       "      <td>Tottenham</td>\n",
       "      <td>QPR</td>\n",
       "      <td>4</td>\n",
       "      <td>0</td>\n",
       "      <td>H</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>2014-08-25</td>\n",
       "      <td>Man City</td>\n",
       "      <td>Liverpool</td>\n",
       "      <td>3</td>\n",
       "      <td>1</td>\n",
       "      <td>H</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>2014-08-30</td>\n",
       "      <td>Burnley</td>\n",
       "      <td>Man United</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>D</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>4</td>\n",
       "      <td>3</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>2014-08-30</td>\n",
       "      <td>Everton</td>\n",
       "      <td>Chelsea</td>\n",
       "      <td>3</td>\n",
       "      <td>6</td>\n",
       "      <td>A</td>\n",
       "      <td>4</td>\n",
       "      <td>5</td>\n",
       "      <td>4</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>2014-08-30</td>\n",
       "      <td>Man City</td>\n",
       "      <td>Stoke</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>A</td>\n",
       "      <td>5</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>2014-08-30</td>\n",
       "      <td>Newcastle</td>\n",
       "      <td>Crystal Palace</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>D</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>5</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>2014-08-30</td>\n",
       "      <td>QPR</td>\n",
       "      <td>Sunderland</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>H</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>5</td>\n",
       "      <td>3</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>2014-08-30</td>\n",
       "      <td>Swansea</td>\n",
       "      <td>West Brom</td>\n",
       "      <td>3</td>\n",
       "      <td>0</td>\n",
       "      <td>H</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>2014-08-30</td>\n",
       "      <td>West Ham</td>\n",
       "      <td>Southampton</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "      <td>A</td>\n",
       "      <td>3</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>2014-08-31</td>\n",
       "      <td>Aston Villa</td>\n",
       "      <td>Hull</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>H</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>2014-08-31</td>\n",
       "      <td>Leicester</td>\n",
       "      <td>Arsenal</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>D</td>\n",
       "      <td>2</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>3</td>\n",
       "      <td>1</td>\n",
       "      <td>4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>2014-08-31</td>\n",
       "      <td>Tottenham</td>\n",
       "      <td>Liverpool</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>A</td>\n",
       "      <td>5</td>\n",
       "      <td>3</td>\n",
       "      <td>0</td>\n",
       "      <td>4</td>\n",
       "      <td>6</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>350</th>\n",
       "      <td>2015-05-09</td>\n",
       "      <td>Crystal Palace</td>\n",
       "      <td>Man United</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>A</td>\n",
       "      <td>42</td>\n",
       "      <td>59</td>\n",
       "      <td>48</td>\n",
       "      <td>35</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>351</th>\n",
       "      <td>2015-05-09</td>\n",
       "      <td>Everton</td>\n",
       "      <td>Sunderland</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>A</td>\n",
       "      <td>46</td>\n",
       "      <td>30</td>\n",
       "      <td>46</td>\n",
       "      <td>50</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>352</th>\n",
       "      <td>2015-05-09</td>\n",
       "      <td>Hull</td>\n",
       "      <td>Burnley</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>A</td>\n",
       "      <td>33</td>\n",
       "      <td>26</td>\n",
       "      <td>48</td>\n",
       "      <td>53</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>353</th>\n",
       "      <td>2015-05-09</td>\n",
       "      <td>Leicester</td>\n",
       "      <td>Southampton</td>\n",
       "      <td>2</td>\n",
       "      <td>0</td>\n",
       "      <td>H</td>\n",
       "      <td>39</td>\n",
       "      <td>48</td>\n",
       "      <td>54</td>\n",
       "      <td>28</td>\n",
       "      <td>3</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>354</th>\n",
       "      <td>2015-05-09</td>\n",
       "      <td>Newcastle</td>\n",
       "      <td>West Brom</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>D</td>\n",
       "      <td>36</td>\n",
       "      <td>33</td>\n",
       "      <td>60</td>\n",
       "      <td>46</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>355</th>\n",
       "      <td>2015-05-09</td>\n",
       "      <td>Stoke</td>\n",
       "      <td>Tottenham</td>\n",
       "      <td>3</td>\n",
       "      <td>0</td>\n",
       "      <td>H</td>\n",
       "      <td>39</td>\n",
       "      <td>55</td>\n",
       "      <td>44</td>\n",
       "      <td>50</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>356</th>\n",
       "      <td>2015-05-10</td>\n",
       "      <td>Chelsea</td>\n",
       "      <td>Liverpool</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>D</td>\n",
       "      <td>69</td>\n",
       "      <td>49</td>\n",
       "      <td>27</td>\n",
       "      <td>38</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>357</th>\n",
       "      <td>2015-05-10</td>\n",
       "      <td>Man City</td>\n",
       "      <td>QPR</td>\n",
       "      <td>6</td>\n",
       "      <td>0</td>\n",
       "      <td>H</td>\n",
       "      <td>71</td>\n",
       "      <td>39</td>\n",
       "      <td>36</td>\n",
       "      <td>61</td>\n",
       "      <td>3</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>358</th>\n",
       "      <td>2015-05-11</td>\n",
       "      <td>Arsenal</td>\n",
       "      <td>Swansea</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>A</td>\n",
       "      <td>66</td>\n",
       "      <td>43</td>\n",
       "      <td>34</td>\n",
       "      <td>44</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>359</th>\n",
       "      <td>2015-05-16</td>\n",
       "      <td>Burnley</td>\n",
       "      <td>Stoke</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>D</td>\n",
       "      <td>26</td>\n",
       "      <td>39</td>\n",
       "      <td>53</td>\n",
       "      <td>44</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>360</th>\n",
       "      <td>2015-05-16</td>\n",
       "      <td>Liverpool</td>\n",
       "      <td>Crystal Palace</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "      <td>A</td>\n",
       "      <td>50</td>\n",
       "      <td>43</td>\n",
       "      <td>39</td>\n",
       "      <td>50</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>361</th>\n",
       "      <td>2015-05-16</td>\n",
       "      <td>QPR</td>\n",
       "      <td>Newcastle</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>H</td>\n",
       "      <td>39</td>\n",
       "      <td>37</td>\n",
       "      <td>67</td>\n",
       "      <td>61</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>362</th>\n",
       "      <td>2015-05-16</td>\n",
       "      <td>Southampton</td>\n",
       "      <td>Aston Villa</td>\n",
       "      <td>6</td>\n",
       "      <td>1</td>\n",
       "      <td>H</td>\n",
       "      <td>48</td>\n",
       "      <td>30</td>\n",
       "      <td>30</td>\n",
       "      <td>50</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>363</th>\n",
       "      <td>2015-05-16</td>\n",
       "      <td>Sunderland</td>\n",
       "      <td>Leicester</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>D</td>\n",
       "      <td>30</td>\n",
       "      <td>41</td>\n",
       "      <td>50</td>\n",
       "      <td>54</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>364</th>\n",
       "      <td>2015-05-16</td>\n",
       "      <td>Tottenham</td>\n",
       "      <td>Hull</td>\n",
       "      <td>2</td>\n",
       "      <td>0</td>\n",
       "      <td>H</td>\n",
       "      <td>55</td>\n",
       "      <td>33</td>\n",
       "      <td>53</td>\n",
       "      <td>49</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>365</th>\n",
       "      <td>2015-05-16</td>\n",
       "      <td>West Ham</td>\n",
       "      <td>Everton</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>A</td>\n",
       "      <td>43</td>\n",
       "      <td>46</td>\n",
       "      <td>43</td>\n",
       "      <td>48</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>366</th>\n",
       "      <td>2015-05-17</td>\n",
       "      <td>Man United</td>\n",
       "      <td>Arsenal</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>D</td>\n",
       "      <td>61</td>\n",
       "      <td>67</td>\n",
       "      <td>36</td>\n",
       "      <td>35</td>\n",
       "      <td>3</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>367</th>\n",
       "      <td>2015-05-17</td>\n",
       "      <td>Swansea</td>\n",
       "      <td>Man City</td>\n",
       "      <td>2</td>\n",
       "      <td>4</td>\n",
       "      <td>A</td>\n",
       "      <td>44</td>\n",
       "      <td>77</td>\n",
       "      <td>44</td>\n",
       "      <td>36</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>368</th>\n",
       "      <td>2015-05-18</td>\n",
       "      <td>West Brom</td>\n",
       "      <td>Chelsea</td>\n",
       "      <td>3</td>\n",
       "      <td>0</td>\n",
       "      <td>H</td>\n",
       "      <td>34</td>\n",
       "      <td>70</td>\n",
       "      <td>47</td>\n",
       "      <td>28</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>369</th>\n",
       "      <td>2015-05-20</td>\n",
       "      <td>Arsenal</td>\n",
       "      <td>Sunderland</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>D</td>\n",
       "      <td>67</td>\n",
       "      <td>30</td>\n",
       "      <td>35</td>\n",
       "      <td>50</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>370</th>\n",
       "      <td>2015-05-24</td>\n",
       "      <td>Arsenal</td>\n",
       "      <td>West Brom</td>\n",
       "      <td>4</td>\n",
       "      <td>1</td>\n",
       "      <td>H</td>\n",
       "      <td>67</td>\n",
       "      <td>37</td>\n",
       "      <td>35</td>\n",
       "      <td>47</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>371</th>\n",
       "      <td>2015-05-24</td>\n",
       "      <td>Aston Villa</td>\n",
       "      <td>Burnley</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>A</td>\n",
       "      <td>31</td>\n",
       "      <td>27</td>\n",
       "      <td>56</td>\n",
       "      <td>53</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>372</th>\n",
       "      <td>2015-05-24</td>\n",
       "      <td>Chelsea</td>\n",
       "      <td>Sunderland</td>\n",
       "      <td>3</td>\n",
       "      <td>1</td>\n",
       "      <td>H</td>\n",
       "      <td>70</td>\n",
       "      <td>30</td>\n",
       "      <td>31</td>\n",
       "      <td>50</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>373</th>\n",
       "      <td>2015-05-24</td>\n",
       "      <td>Crystal Palace</td>\n",
       "      <td>Swansea</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>H</td>\n",
       "      <td>46</td>\n",
       "      <td>46</td>\n",
       "      <td>51</td>\n",
       "      <td>48</td>\n",
       "      <td>3</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>374</th>\n",
       "      <td>2015-05-24</td>\n",
       "      <td>Everton</td>\n",
       "      <td>Tottenham</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>A</td>\n",
       "      <td>48</td>\n",
       "      <td>57</td>\n",
       "      <td>49</td>\n",
       "      <td>53</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>375</th>\n",
       "      <td>2015-05-24</td>\n",
       "      <td>Hull</td>\n",
       "      <td>Man United</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>D</td>\n",
       "      <td>33</td>\n",
       "      <td>62</td>\n",
       "      <td>51</td>\n",
       "      <td>37</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>376</th>\n",
       "      <td>2015-05-24</td>\n",
       "      <td>Leicester</td>\n",
       "      <td>QPR</td>\n",
       "      <td>5</td>\n",
       "      <td>1</td>\n",
       "      <td>H</td>\n",
       "      <td>41</td>\n",
       "      <td>41</td>\n",
       "      <td>54</td>\n",
       "      <td>68</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>377</th>\n",
       "      <td>2015-05-24</td>\n",
       "      <td>Man City</td>\n",
       "      <td>Southampton</td>\n",
       "      <td>2</td>\n",
       "      <td>0</td>\n",
       "      <td>H</td>\n",
       "      <td>81</td>\n",
       "      <td>54</td>\n",
       "      <td>38</td>\n",
       "      <td>31</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>378</th>\n",
       "      <td>2015-05-24</td>\n",
       "      <td>Newcastle</td>\n",
       "      <td>West Ham</td>\n",
       "      <td>2</td>\n",
       "      <td>0</td>\n",
       "      <td>H</td>\n",
       "      <td>38</td>\n",
       "      <td>44</td>\n",
       "      <td>63</td>\n",
       "      <td>45</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>379</th>\n",
       "      <td>2015-05-24</td>\n",
       "      <td>Stoke</td>\n",
       "      <td>Liverpool</td>\n",
       "      <td>6</td>\n",
       "      <td>1</td>\n",
       "      <td>H</td>\n",
       "      <td>42</td>\n",
       "      <td>51</td>\n",
       "      <td>44</td>\n",
       "      <td>42</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>380 rows × 12 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "           Date        HomeTeam        AwayTeam  FTHG  FTAG FTR  HTGS  ATGS  \\\n",
       "0    2014-08-16         Arsenal  Crystal Palace     2     1   H     0     0   \n",
       "1    2014-08-16       Leicester         Everton     2     2   D     0     0   \n",
       "2    2014-08-16      Man United         Swansea     1     2   A     0     0   \n",
       "3    2014-08-16             QPR            Hull     0     1   A     0     0   \n",
       "4    2014-08-16           Stoke     Aston Villa     0     1   A     0     0   \n",
       "5    2014-08-16       West Brom      Sunderland     2     2   D     0     0   \n",
       "6    2014-08-16        West Ham       Tottenham     0     1   A     0     0   \n",
       "7    2014-08-17       Liverpool     Southampton     2     1   H     0     0   \n",
       "8    2014-08-17       Newcastle        Man City     0     2   A     0     0   \n",
       "9    2014-08-18         Burnley         Chelsea     1     3   A     0     0   \n",
       "10   2014-08-23     Aston Villa       Newcastle     0     0   D     1     0   \n",
       "11   2014-08-23         Chelsea       Leicester     2     0   H     3     2   \n",
       "12   2014-08-23  Crystal Palace        West Ham     1     3   A     1     0   \n",
       "13   2014-08-23         Everton         Arsenal     2     2   D     2     2   \n",
       "14   2014-08-23     Southampton       West Brom     0     0   D     1     2   \n",
       "15   2014-08-23         Swansea         Burnley     1     0   H     2     1   \n",
       "16   2014-08-24            Hull           Stoke     1     1   D     1     0   \n",
       "17   2014-08-24      Sunderland      Man United     1     1   D     2     1   \n",
       "18   2014-08-24       Tottenham             QPR     4     0   H     1     0   \n",
       "19   2014-08-25        Man City       Liverpool     3     1   H     2     2   \n",
       "20   2014-08-30         Burnley      Man United     0     0   D     1     2   \n",
       "21   2014-08-30         Everton         Chelsea     3     6   A     4     5   \n",
       "22   2014-08-30        Man City           Stoke     0     1   A     5     1   \n",
       "23   2014-08-30       Newcastle  Crystal Palace     3     3   D     0     2   \n",
       "24   2014-08-30             QPR      Sunderland     1     0   H     0     3   \n",
       "25   2014-08-30         Swansea       West Brom     3     0   H     3     2   \n",
       "26   2014-08-30        West Ham     Southampton     1     3   A     3     1   \n",
       "27   2014-08-31     Aston Villa            Hull     2     1   H     1     2   \n",
       "28   2014-08-31       Leicester         Arsenal     1     1   D     2     4   \n",
       "29   2014-08-31       Tottenham       Liverpool     0     3   A     5     3   \n",
       "..          ...             ...             ...   ...   ...  ..   ...   ...   \n",
       "350  2015-05-09  Crystal Palace      Man United     1     2   A    42    59   \n",
       "351  2015-05-09         Everton      Sunderland     0     2   A    46    30   \n",
       "352  2015-05-09            Hull         Burnley     0     1   A    33    26   \n",
       "353  2015-05-09       Leicester     Southampton     2     0   H    39    48   \n",
       "354  2015-05-09       Newcastle       West Brom     1     1   D    36    33   \n",
       "355  2015-05-09           Stoke       Tottenham     3     0   H    39    55   \n",
       "356  2015-05-10         Chelsea       Liverpool     1     1   D    69    49   \n",
       "357  2015-05-10        Man City             QPR     6     0   H    71    39   \n",
       "358  2015-05-11         Arsenal         Swansea     0     1   A    66    43   \n",
       "359  2015-05-16         Burnley           Stoke     0     0   D    26    39   \n",
       "360  2015-05-16       Liverpool  Crystal Palace     1     3   A    50    43   \n",
       "361  2015-05-16             QPR       Newcastle     2     1   H    39    37   \n",
       "362  2015-05-16     Southampton     Aston Villa     6     1   H    48    30   \n",
       "363  2015-05-16      Sunderland       Leicester     0     0   D    30    41   \n",
       "364  2015-05-16       Tottenham            Hull     2     0   H    55    33   \n",
       "365  2015-05-16        West Ham         Everton     1     2   A    43    46   \n",
       "366  2015-05-17      Man United         Arsenal     1     1   D    61    67   \n",
       "367  2015-05-17         Swansea        Man City     2     4   A    44    77   \n",
       "368  2015-05-18       West Brom         Chelsea     3     0   H    34    70   \n",
       "369  2015-05-20         Arsenal      Sunderland     0     0   D    67    30   \n",
       "370  2015-05-24         Arsenal       West Brom     4     1   H    67    37   \n",
       "371  2015-05-24     Aston Villa         Burnley     0     1   A    31    27   \n",
       "372  2015-05-24         Chelsea      Sunderland     3     1   H    70    30   \n",
       "373  2015-05-24  Crystal Palace         Swansea     1     0   H    46    46   \n",
       "374  2015-05-24         Everton       Tottenham     0     1   A    48    57   \n",
       "375  2015-05-24            Hull      Man United     0     0   D    33    62   \n",
       "376  2015-05-24       Leicester             QPR     5     1   H    41    41   \n",
       "377  2015-05-24        Man City     Southampton     2     0   H    81    54   \n",
       "378  2015-05-24       Newcastle        West Ham     2     0   H    38    44   \n",
       "379  2015-05-24           Stoke       Liverpool     6     1   H    42    51   \n",
       "\n",
       "     HTGC  ATGC  HTP  ATP  \n",
       "0       0     0    0    0  \n",
       "1       0     0    0    0  \n",
       "2       0     0    0    0  \n",
       "3       0     0    0    0  \n",
       "4       0     0    0    0  \n",
       "5       0     0    0    0  \n",
       "6       0     0    0    0  \n",
       "7       0     0    0    0  \n",
       "8       0     0    0    0  \n",
       "9       0     0    0    0  \n",
       "10      0     2    3    0  \n",
       "11      1     2    3    1  \n",
       "12      2     1    0    0  \n",
       "13      2     1    1    3  \n",
       "14      2     2    0    1  \n",
       "15      1     3    3    0  \n",
       "16      0     1    3    0  \n",
       "17      2     2    1    0  \n",
       "18      0     1    3    0  \n",
       "19      0     1    3    3  \n",
       "20      4     3    0    1  \n",
       "21      4     1    2    6  \n",
       "22      1     2    6    1  \n",
       "23      2     5    1    0  \n",
       "24      5     3    0    2  \n",
       "25      1     2    6    2  \n",
       "26      2     2    3    1  \n",
       "27      0     1    4    4  \n",
       "28      4     3    1    4  \n",
       "29      0     4    6    3  \n",
       "..    ...   ...  ...  ...  \n",
       "350    48    35    0    0  \n",
       "351    46    50    0    3  \n",
       "352    48    53    0    0  \n",
       "353    54    28    3    0  \n",
       "354    60    46    0    3  \n",
       "355    44    50    0    0  \n",
       "356    27    38    3    3  \n",
       "357    36    61    3    0  \n",
       "358    34    44    0    3  \n",
       "359    53    44    0    0  \n",
       "360    39    50    1    0  \n",
       "361    67    61    0    1  \n",
       "362    30    50    0    3  \n",
       "363    50    54    1    3  \n",
       "364    53    49    0    0  \n",
       "365    43    48    0    0  \n",
       "366    36    35    3    1  \n",
       "367    44    36    3    3  \n",
       "368    47    28    1    1  \n",
       "369    35    50    1    1  \n",
       "370    35    47    1    3  \n",
       "371    56    53    0    1  \n",
       "372    31    50    0    1  \n",
       "373    51    48    3    0  \n",
       "374    49    53    3    3  \n",
       "375    51    37    0    1  \n",
       "376    54    68    1    3  \n",
       "377    38    31    3    3  \n",
       "378    63    45    0    0  \n",
       "379    44    42    1    0  \n",
       "\n",
       "[380 rows x 12 columns]"
      ]
     },
     "execution_count": 339,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "playing_statistics_3"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 340,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "here\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "C:\\Users\\krishna\\Anaconda3\\envs\\tensorflow\\lib\\site-packages\\ipykernel_launcher.py:31: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n",
      "C:\\Users\\krishna\\Anaconda3\\envs\\tensorflow\\lib\\site-packages\\ipykernel_launcher.py:32: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n",
      "here\n"
     ]
    }
   ],
   "source": [
    "def get_form(playing_stat,num):\n",
    "    form = get_matchres(playing_stat)\n",
    "    form_final = form.copy()\n",
    "    for i in range(num,39):\n",
    "        form_final[i] = ''\n",
    "        j = 0\n",
    "        while j < num:\n",
    "            form_final[i] += form[i-j]\n",
    "            j += 1           \n",
    "    return form_final\n",
    "\n",
    "def add_form(playing_stat,num):\n",
    "    form = get_form(playing_stat,num)\n",
    "    h = ['M' for i in range(num * 10)]  # since form is not available for n MW (n*10)\n",
    "    a = ['M' for i in range(num * 10)]\n",
    "    \n",
    "    j = num\n",
    "    for i in range((num*10),380):\n",
    "        ht = playing_stat.iloc[i].HomeTeam\n",
    "        at = playing_stat.iloc[i].AwayTeam\n",
    "        \n",
    "        past = form.loc[ht][j]               # get past n results\n",
    "        h.append(past[num-1])                    # 0 index is most recent\n",
    "        \n",
    "        past = form.loc[at][j]               # get past n results.\n",
    "        a.append(past[num-1])                   # 0 index is most recent\n",
    "        \n",
    "        if ((i + 1)% 10) == 0:\n",
    "            j = j + 1\n",
    "    \n",
    "    playing_stat['HM' + str(num)] = h[:playing_stat.shape[0]]                 \n",
    "    playing_stat['AM' + str(num)] = a[:playing_stat.shape[0]]\n",
    "\n",
    "    \n",
    "    return playing_stat\n",
    "\n",
    "\n",
    "def add_form_df(playing_statistics):\n",
    "    playing_statistics = add_form(playing_statistics,1)\n",
    "    playing_statistics = add_form(playing_statistics,2)\n",
    "    playing_statistics = add_form(playing_statistics,3)\n",
    "    playing_statistics = add_form(playing_statistics,4)\n",
    "    playing_statistics = add_form(playing_statistics,5)\n",
    "    return playing_statistics    \n",
    "    \n",
    "# Make changes to df\n",
    "# playing_statistics_1 = add_form_df(playing_statistics_1)\n",
    "playing_statistics_2 = add_form_df(playing_statistics_2)\n",
    "playing_statistics_3 = add_form_df(playing_statistics_3)\n",
    "playing_statistics_4 = add_form_df(playing_statistics_4)\n",
    "playing_statistics_5 = add_form_df(playing_statistics_5)\n",
    "playing_statistics_6 = add_form_df(playing_statistics_6)\n",
    "playing_statistics_7 = add_form_df(playing_statistics_7)\n",
    "playing_statistics_8 = add_form_df(playing_statistics_8)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 341,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Date</th>\n",
       "      <th>HomeTeam</th>\n",
       "      <th>AwayTeam</th>\n",
       "      <th>FTHG</th>\n",
       "      <th>FTAG</th>\n",
       "      <th>FTR</th>\n",
       "      <th>HTGS</th>\n",
       "      <th>ATGS</th>\n",
       "      <th>HTGC</th>\n",
       "      <th>ATGC</th>\n",
       "      <th>...</th>\n",
       "      <th>HM1</th>\n",
       "      <th>AM1</th>\n",
       "      <th>HM2</th>\n",
       "      <th>AM2</th>\n",
       "      <th>HM3</th>\n",
       "      <th>AM3</th>\n",
       "      <th>HM4</th>\n",
       "      <th>AM4</th>\n",
       "      <th>HM5</th>\n",
       "      <th>AM5</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>2014-08-16</td>\n",
       "      <td>Arsenal</td>\n",
       "      <td>Crystal Palace</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>H</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>...</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2014-08-16</td>\n",
       "      <td>Leicester</td>\n",
       "      <td>Everton</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>D</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>...</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>2014-08-16</td>\n",
       "      <td>Man United</td>\n",
       "      <td>Swansea</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>A</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>...</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>2014-08-16</td>\n",
       "      <td>QPR</td>\n",
       "      <td>Hull</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>A</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>...</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>2014-08-16</td>\n",
       "      <td>Stoke</td>\n",
       "      <td>Aston Villa</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>A</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>...</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>2014-08-16</td>\n",
       "      <td>West Brom</td>\n",
       "      <td>Sunderland</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>D</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>...</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>2014-08-16</td>\n",
       "      <td>West Ham</td>\n",
       "      <td>Tottenham</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>A</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>...</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>2014-08-17</td>\n",
       "      <td>Liverpool</td>\n",
       "      <td>Southampton</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>H</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>...</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>2014-08-17</td>\n",
       "      <td>Newcastle</td>\n",
       "      <td>Man City</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>A</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>...</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>2014-08-18</td>\n",
       "      <td>Burnley</td>\n",
       "      <td>Chelsea</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "      <td>A</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>...</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>2014-08-23</td>\n",
       "      <td>Aston Villa</td>\n",
       "      <td>Newcastle</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>D</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>2014-08-23</td>\n",
       "      <td>Chelsea</td>\n",
       "      <td>Leicester</td>\n",
       "      <td>2</td>\n",
       "      <td>0</td>\n",
       "      <td>H</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>2014-08-23</td>\n",
       "      <td>Crystal Palace</td>\n",
       "      <td>West Ham</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "      <td>A</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>2014-08-23</td>\n",
       "      <td>Everton</td>\n",
       "      <td>Arsenal</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>D</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>2014-08-23</td>\n",
       "      <td>Southampton</td>\n",
       "      <td>West Brom</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>D</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>2014-08-23</td>\n",
       "      <td>Swansea</td>\n",
       "      <td>Burnley</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>H</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "      <td>...</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>2014-08-24</td>\n",
       "      <td>Hull</td>\n",
       "      <td>Stoke</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>D</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>2014-08-24</td>\n",
       "      <td>Sunderland</td>\n",
       "      <td>Man United</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>D</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>2014-08-24</td>\n",
       "      <td>Tottenham</td>\n",
       "      <td>QPR</td>\n",
       "      <td>4</td>\n",
       "      <td>0</td>\n",
       "      <td>H</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>2014-08-25</td>\n",
       "      <td>Man City</td>\n",
       "      <td>Liverpool</td>\n",
       "      <td>3</td>\n",
       "      <td>1</td>\n",
       "      <td>H</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>2014-08-30</td>\n",
       "      <td>Burnley</td>\n",
       "      <td>Man United</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>D</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>4</td>\n",
       "      <td>3</td>\n",
       "      <td>...</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>2014-08-30</td>\n",
       "      <td>Everton</td>\n",
       "      <td>Chelsea</td>\n",
       "      <td>3</td>\n",
       "      <td>6</td>\n",
       "      <td>A</td>\n",
       "      <td>4</td>\n",
       "      <td>5</td>\n",
       "      <td>4</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>2014-08-30</td>\n",
       "      <td>Man City</td>\n",
       "      <td>Stoke</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>A</td>\n",
       "      <td>5</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>2014-08-30</td>\n",
       "      <td>Newcastle</td>\n",
       "      <td>Crystal Palace</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>D</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>5</td>\n",
       "      <td>...</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>2014-08-30</td>\n",
       "      <td>QPR</td>\n",
       "      <td>Sunderland</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>H</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>5</td>\n",
       "      <td>3</td>\n",
       "      <td>...</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>2014-08-30</td>\n",
       "      <td>Swansea</td>\n",
       "      <td>West Brom</td>\n",
       "      <td>3</td>\n",
       "      <td>0</td>\n",
       "      <td>H</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>2014-08-30</td>\n",
       "      <td>West Ham</td>\n",
       "      <td>Southampton</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "      <td>A</td>\n",
       "      <td>3</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>2014-08-31</td>\n",
       "      <td>Aston Villa</td>\n",
       "      <td>Hull</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>H</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>D</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>2014-08-31</td>\n",
       "      <td>Leicester</td>\n",
       "      <td>Arsenal</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>D</td>\n",
       "      <td>2</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>3</td>\n",
       "      <td>...</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>2014-08-31</td>\n",
       "      <td>Tottenham</td>\n",
       "      <td>Liverpool</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>A</td>\n",
       "      <td>5</td>\n",
       "      <td>3</td>\n",
       "      <td>0</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>350</th>\n",
       "      <td>2015-05-09</td>\n",
       "      <td>Crystal Palace</td>\n",
       "      <td>Man United</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>A</td>\n",
       "      <td>42</td>\n",
       "      <td>59</td>\n",
       "      <td>48</td>\n",
       "      <td>35</td>\n",
       "      <td>...</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>351</th>\n",
       "      <td>2015-05-09</td>\n",
       "      <td>Everton</td>\n",
       "      <td>Sunderland</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>A</td>\n",
       "      <td>46</td>\n",
       "      <td>30</td>\n",
       "      <td>46</td>\n",
       "      <td>50</td>\n",
       "      <td>...</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>352</th>\n",
       "      <td>2015-05-09</td>\n",
       "      <td>Hull</td>\n",
       "      <td>Burnley</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>A</td>\n",
       "      <td>33</td>\n",
       "      <td>26</td>\n",
       "      <td>48</td>\n",
       "      <td>53</td>\n",
       "      <td>...</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>353</th>\n",
       "      <td>2015-05-09</td>\n",
       "      <td>Leicester</td>\n",
       "      <td>Southampton</td>\n",
       "      <td>2</td>\n",
       "      <td>0</td>\n",
       "      <td>H</td>\n",
       "      <td>39</td>\n",
       "      <td>48</td>\n",
       "      <td>54</td>\n",
       "      <td>28</td>\n",
       "      <td>...</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>354</th>\n",
       "      <td>2015-05-09</td>\n",
       "      <td>Newcastle</td>\n",
       "      <td>West Brom</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>D</td>\n",
       "      <td>36</td>\n",
       "      <td>33</td>\n",
       "      <td>60</td>\n",
       "      <td>46</td>\n",
       "      <td>...</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>355</th>\n",
       "      <td>2015-05-09</td>\n",
       "      <td>Stoke</td>\n",
       "      <td>Tottenham</td>\n",
       "      <td>3</td>\n",
       "      <td>0</td>\n",
       "      <td>H</td>\n",
       "      <td>39</td>\n",
       "      <td>55</td>\n",
       "      <td>44</td>\n",
       "      <td>50</td>\n",
       "      <td>...</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>356</th>\n",
       "      <td>2015-05-10</td>\n",
       "      <td>Chelsea</td>\n",
       "      <td>Liverpool</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>D</td>\n",
       "      <td>69</td>\n",
       "      <td>49</td>\n",
       "      <td>27</td>\n",
       "      <td>38</td>\n",
       "      <td>...</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>357</th>\n",
       "      <td>2015-05-10</td>\n",
       "      <td>Man City</td>\n",
       "      <td>QPR</td>\n",
       "      <td>6</td>\n",
       "      <td>0</td>\n",
       "      <td>H</td>\n",
       "      <td>71</td>\n",
       "      <td>39</td>\n",
       "      <td>36</td>\n",
       "      <td>61</td>\n",
       "      <td>...</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>358</th>\n",
       "      <td>2015-05-11</td>\n",
       "      <td>Arsenal</td>\n",
       "      <td>Swansea</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>A</td>\n",
       "      <td>66</td>\n",
       "      <td>43</td>\n",
       "      <td>34</td>\n",
       "      <td>44</td>\n",
       "      <td>...</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>359</th>\n",
       "      <td>2015-05-16</td>\n",
       "      <td>Burnley</td>\n",
       "      <td>Stoke</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>D</td>\n",
       "      <td>26</td>\n",
       "      <td>39</td>\n",
       "      <td>53</td>\n",
       "      <td>44</td>\n",
       "      <td>...</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>360</th>\n",
       "      <td>2015-05-16</td>\n",
       "      <td>Liverpool</td>\n",
       "      <td>Crystal Palace</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "      <td>A</td>\n",
       "      <td>50</td>\n",
       "      <td>43</td>\n",
       "      <td>39</td>\n",
       "      <td>50</td>\n",
       "      <td>...</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>361</th>\n",
       "      <td>2015-05-16</td>\n",
       "      <td>QPR</td>\n",
       "      <td>Newcastle</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>H</td>\n",
       "      <td>39</td>\n",
       "      <td>37</td>\n",
       "      <td>67</td>\n",
       "      <td>61</td>\n",
       "      <td>...</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>362</th>\n",
       "      <td>2015-05-16</td>\n",
       "      <td>Southampton</td>\n",
       "      <td>Aston Villa</td>\n",
       "      <td>6</td>\n",
       "      <td>1</td>\n",
       "      <td>H</td>\n",
       "      <td>48</td>\n",
       "      <td>30</td>\n",
       "      <td>30</td>\n",
       "      <td>50</td>\n",
       "      <td>...</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>363</th>\n",
       "      <td>2015-05-16</td>\n",
       "      <td>Sunderland</td>\n",
       "      <td>Leicester</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>D</td>\n",
       "      <td>30</td>\n",
       "      <td>41</td>\n",
       "      <td>50</td>\n",
       "      <td>54</td>\n",
       "      <td>...</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>364</th>\n",
       "      <td>2015-05-16</td>\n",
       "      <td>Tottenham</td>\n",
       "      <td>Hull</td>\n",
       "      <td>2</td>\n",
       "      <td>0</td>\n",
       "      <td>H</td>\n",
       "      <td>55</td>\n",
       "      <td>33</td>\n",
       "      <td>53</td>\n",
       "      <td>49</td>\n",
       "      <td>...</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>365</th>\n",
       "      <td>2015-05-16</td>\n",
       "      <td>West Ham</td>\n",
       "      <td>Everton</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>A</td>\n",
       "      <td>43</td>\n",
       "      <td>46</td>\n",
       "      <td>43</td>\n",
       "      <td>48</td>\n",
       "      <td>...</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>D</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>366</th>\n",
       "      <td>2015-05-17</td>\n",
       "      <td>Man United</td>\n",
       "      <td>Arsenal</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>D</td>\n",
       "      <td>61</td>\n",
       "      <td>67</td>\n",
       "      <td>36</td>\n",
       "      <td>35</td>\n",
       "      <td>...</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>367</th>\n",
       "      <td>2015-05-17</td>\n",
       "      <td>Swansea</td>\n",
       "      <td>Man City</td>\n",
       "      <td>2</td>\n",
       "      <td>4</td>\n",
       "      <td>A</td>\n",
       "      <td>44</td>\n",
       "      <td>77</td>\n",
       "      <td>44</td>\n",
       "      <td>36</td>\n",
       "      <td>...</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>368</th>\n",
       "      <td>2015-05-18</td>\n",
       "      <td>West Brom</td>\n",
       "      <td>Chelsea</td>\n",
       "      <td>3</td>\n",
       "      <td>0</td>\n",
       "      <td>H</td>\n",
       "      <td>34</td>\n",
       "      <td>70</td>\n",
       "      <td>47</td>\n",
       "      <td>28</td>\n",
       "      <td>...</td>\n",
       "      <td>D</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>369</th>\n",
       "      <td>2015-05-20</td>\n",
       "      <td>Arsenal</td>\n",
       "      <td>Sunderland</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>D</td>\n",
       "      <td>67</td>\n",
       "      <td>30</td>\n",
       "      <td>35</td>\n",
       "      <td>50</td>\n",
       "      <td>...</td>\n",
       "      <td>D</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>370</th>\n",
       "      <td>2015-05-24</td>\n",
       "      <td>Arsenal</td>\n",
       "      <td>West Brom</td>\n",
       "      <td>4</td>\n",
       "      <td>1</td>\n",
       "      <td>H</td>\n",
       "      <td>67</td>\n",
       "      <td>37</td>\n",
       "      <td>35</td>\n",
       "      <td>47</td>\n",
       "      <td>...</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>371</th>\n",
       "      <td>2015-05-24</td>\n",
       "      <td>Aston Villa</td>\n",
       "      <td>Burnley</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>A</td>\n",
       "      <td>31</td>\n",
       "      <td>27</td>\n",
       "      <td>56</td>\n",
       "      <td>53</td>\n",
       "      <td>...</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>372</th>\n",
       "      <td>2015-05-24</td>\n",
       "      <td>Chelsea</td>\n",
       "      <td>Sunderland</td>\n",
       "      <td>3</td>\n",
       "      <td>1</td>\n",
       "      <td>H</td>\n",
       "      <td>70</td>\n",
       "      <td>30</td>\n",
       "      <td>31</td>\n",
       "      <td>50</td>\n",
       "      <td>...</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>D</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>D</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>373</th>\n",
       "      <td>2015-05-24</td>\n",
       "      <td>Crystal Palace</td>\n",
       "      <td>Swansea</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>H</td>\n",
       "      <td>46</td>\n",
       "      <td>46</td>\n",
       "      <td>51</td>\n",
       "      <td>48</td>\n",
       "      <td>...</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>374</th>\n",
       "      <td>2015-05-24</td>\n",
       "      <td>Everton</td>\n",
       "      <td>Tottenham</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>A</td>\n",
       "      <td>48</td>\n",
       "      <td>57</td>\n",
       "      <td>49</td>\n",
       "      <td>53</td>\n",
       "      <td>...</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>375</th>\n",
       "      <td>2015-05-24</td>\n",
       "      <td>Hull</td>\n",
       "      <td>Man United</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>D</td>\n",
       "      <td>33</td>\n",
       "      <td>62</td>\n",
       "      <td>51</td>\n",
       "      <td>37</td>\n",
       "      <td>...</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>376</th>\n",
       "      <td>2015-05-24</td>\n",
       "      <td>Leicester</td>\n",
       "      <td>QPR</td>\n",
       "      <td>5</td>\n",
       "      <td>1</td>\n",
       "      <td>H</td>\n",
       "      <td>41</td>\n",
       "      <td>41</td>\n",
       "      <td>54</td>\n",
       "      <td>68</td>\n",
       "      <td>...</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>377</th>\n",
       "      <td>2015-05-24</td>\n",
       "      <td>Man City</td>\n",
       "      <td>Southampton</td>\n",
       "      <td>2</td>\n",
       "      <td>0</td>\n",
       "      <td>H</td>\n",
       "      <td>81</td>\n",
       "      <td>54</td>\n",
       "      <td>38</td>\n",
       "      <td>31</td>\n",
       "      <td>...</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>378</th>\n",
       "      <td>2015-05-24</td>\n",
       "      <td>Newcastle</td>\n",
       "      <td>West Ham</td>\n",
       "      <td>2</td>\n",
       "      <td>0</td>\n",
       "      <td>H</td>\n",
       "      <td>38</td>\n",
       "      <td>44</td>\n",
       "      <td>63</td>\n",
       "      <td>45</td>\n",
       "      <td>...</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>379</th>\n",
       "      <td>2015-05-24</td>\n",
       "      <td>Stoke</td>\n",
       "      <td>Liverpool</td>\n",
       "      <td>6</td>\n",
       "      <td>1</td>\n",
       "      <td>H</td>\n",
       "      <td>42</td>\n",
       "      <td>51</td>\n",
       "      <td>44</td>\n",
       "      <td>42</td>\n",
       "      <td>...</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>380 rows × 22 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "           Date        HomeTeam        AwayTeam  FTHG  FTAG FTR  HTGS  ATGS  \\\n",
       "0    2014-08-16         Arsenal  Crystal Palace     2     1   H     0     0   \n",
       "1    2014-08-16       Leicester         Everton     2     2   D     0     0   \n",
       "2    2014-08-16      Man United         Swansea     1     2   A     0     0   \n",
       "3    2014-08-16             QPR            Hull     0     1   A     0     0   \n",
       "4    2014-08-16           Stoke     Aston Villa     0     1   A     0     0   \n",
       "5    2014-08-16       West Brom      Sunderland     2     2   D     0     0   \n",
       "6    2014-08-16        West Ham       Tottenham     0     1   A     0     0   \n",
       "7    2014-08-17       Liverpool     Southampton     2     1   H     0     0   \n",
       "8    2014-08-17       Newcastle        Man City     0     2   A     0     0   \n",
       "9    2014-08-18         Burnley         Chelsea     1     3   A     0     0   \n",
       "10   2014-08-23     Aston Villa       Newcastle     0     0   D     1     0   \n",
       "11   2014-08-23         Chelsea       Leicester     2     0   H     3     2   \n",
       "12   2014-08-23  Crystal Palace        West Ham     1     3   A     1     0   \n",
       "13   2014-08-23         Everton         Arsenal     2     2   D     2     2   \n",
       "14   2014-08-23     Southampton       West Brom     0     0   D     1     2   \n",
       "15   2014-08-23         Swansea         Burnley     1     0   H     2     1   \n",
       "16   2014-08-24            Hull           Stoke     1     1   D     1     0   \n",
       "17   2014-08-24      Sunderland      Man United     1     1   D     2     1   \n",
       "18   2014-08-24       Tottenham             QPR     4     0   H     1     0   \n",
       "19   2014-08-25        Man City       Liverpool     3     1   H     2     2   \n",
       "20   2014-08-30         Burnley      Man United     0     0   D     1     2   \n",
       "21   2014-08-30         Everton         Chelsea     3     6   A     4     5   \n",
       "22   2014-08-30        Man City           Stoke     0     1   A     5     1   \n",
       "23   2014-08-30       Newcastle  Crystal Palace     3     3   D     0     2   \n",
       "24   2014-08-30             QPR      Sunderland     1     0   H     0     3   \n",
       "25   2014-08-30         Swansea       West Brom     3     0   H     3     2   \n",
       "26   2014-08-30        West Ham     Southampton     1     3   A     3     1   \n",
       "27   2014-08-31     Aston Villa            Hull     2     1   H     1     2   \n",
       "28   2014-08-31       Leicester         Arsenal     1     1   D     2     4   \n",
       "29   2014-08-31       Tottenham       Liverpool     0     3   A     5     3   \n",
       "..          ...             ...             ...   ...   ...  ..   ...   ...   \n",
       "350  2015-05-09  Crystal Palace      Man United     1     2   A    42    59   \n",
       "351  2015-05-09         Everton      Sunderland     0     2   A    46    30   \n",
       "352  2015-05-09            Hull         Burnley     0     1   A    33    26   \n",
       "353  2015-05-09       Leicester     Southampton     2     0   H    39    48   \n",
       "354  2015-05-09       Newcastle       West Brom     1     1   D    36    33   \n",
       "355  2015-05-09           Stoke       Tottenham     3     0   H    39    55   \n",
       "356  2015-05-10         Chelsea       Liverpool     1     1   D    69    49   \n",
       "357  2015-05-10        Man City             QPR     6     0   H    71    39   \n",
       "358  2015-05-11         Arsenal         Swansea     0     1   A    66    43   \n",
       "359  2015-05-16         Burnley           Stoke     0     0   D    26    39   \n",
       "360  2015-05-16       Liverpool  Crystal Palace     1     3   A    50    43   \n",
       "361  2015-05-16             QPR       Newcastle     2     1   H    39    37   \n",
       "362  2015-05-16     Southampton     Aston Villa     6     1   H    48    30   \n",
       "363  2015-05-16      Sunderland       Leicester     0     0   D    30    41   \n",
       "364  2015-05-16       Tottenham            Hull     2     0   H    55    33   \n",
       "365  2015-05-16        West Ham         Everton     1     2   A    43    46   \n",
       "366  2015-05-17      Man United         Arsenal     1     1   D    61    67   \n",
       "367  2015-05-17         Swansea        Man City     2     4   A    44    77   \n",
       "368  2015-05-18       West Brom         Chelsea     3     0   H    34    70   \n",
       "369  2015-05-20         Arsenal      Sunderland     0     0   D    67    30   \n",
       "370  2015-05-24         Arsenal       West Brom     4     1   H    67    37   \n",
       "371  2015-05-24     Aston Villa         Burnley     0     1   A    31    27   \n",
       "372  2015-05-24         Chelsea      Sunderland     3     1   H    70    30   \n",
       "373  2015-05-24  Crystal Palace         Swansea     1     0   H    46    46   \n",
       "374  2015-05-24         Everton       Tottenham     0     1   A    48    57   \n",
       "375  2015-05-24            Hull      Man United     0     0   D    33    62   \n",
       "376  2015-05-24       Leicester             QPR     5     1   H    41    41   \n",
       "377  2015-05-24        Man City     Southampton     2     0   H    81    54   \n",
       "378  2015-05-24       Newcastle        West Ham     2     0   H    38    44   \n",
       "379  2015-05-24           Stoke       Liverpool     6     1   H    42    51   \n",
       "\n",
       "     HTGC  ATGC ...  HM1  AM1 HM2 AM2 HM3 AM3 HM4 AM4 HM5 AM5  \n",
       "0       0     0 ...    M    M   M   M   M   M   M   M   M   M  \n",
       "1       0     0 ...    M    M   M   M   M   M   M   M   M   M  \n",
       "2       0     0 ...    M    M   M   M   M   M   M   M   M   M  \n",
       "3       0     0 ...    M    M   M   M   M   M   M   M   M   M  \n",
       "4       0     0 ...    M    M   M   M   M   M   M   M   M   M  \n",
       "5       0     0 ...    M    M   M   M   M   M   M   M   M   M  \n",
       "6       0     0 ...    M    M   M   M   M   M   M   M   M   M  \n",
       "7       0     0 ...    M    M   M   M   M   M   M   M   M   M  \n",
       "8       0     0 ...    M    M   M   M   M   M   M   M   M   M  \n",
       "9       0     0 ...    M    M   M   M   M   M   M   M   M   M  \n",
       "10      0     2 ...    W    L   M   M   M   M   M   M   M   M  \n",
       "11      1     2 ...    W    D   M   M   M   M   M   M   M   M  \n",
       "12      2     1 ...    L    L   M   M   M   M   M   M   M   M  \n",
       "13      2     1 ...    D    W   M   M   M   M   M   M   M   M  \n",
       "14      2     2 ...    L    D   M   M   M   M   M   M   M   M  \n",
       "15      1     3 ...    W    L   M   M   M   M   M   M   M   M  \n",
       "16      0     1 ...    W    L   M   M   M   M   M   M   M   M  \n",
       "17      2     2 ...    D    L   M   M   M   M   M   M   M   M  \n",
       "18      0     1 ...    W    L   M   M   M   M   M   M   M   M  \n",
       "19      0     1 ...    W    W   M   M   M   M   M   M   M   M  \n",
       "20      4     3 ...    L    D   L   L   M   M   M   M   M   M  \n",
       "21      4     1 ...    D    W   D   W   M   M   M   M   M   M  \n",
       "22      1     2 ...    W    D   W   L   M   M   M   M   M   M  \n",
       "23      2     5 ...    D    L   L   L   M   M   M   M   M   M  \n",
       "24      5     3 ...    L    D   L   D   M   M   M   M   M   M  \n",
       "25      1     2 ...    W    D   W   D   M   M   M   M   M   M  \n",
       "26      2     2 ...    W    D   L   L   M   M   M   M   M   M  \n",
       "27      0     1 ...    D    D   W   W   M   M   M   M   M   M  \n",
       "28      4     3 ...    L    D   D   W   M   M   M   M   M   M  \n",
       "29      0     4 ...    W    L   W   W   M   M   M   M   M   M  \n",
       "..    ...   ... ...  ...  ...  ..  ..  ..  ..  ..  ..  ..  ..  \n",
       "350    48    35 ...    L    L   L   L   L   L   W   W   W   W  \n",
       "351    46    50 ...    L    W   W   W   W   D   D   L   W   W  \n",
       "352    48    53 ...    L    L   W   L   W   L   L   L   L   D  \n",
       "353    54    28 ...    W    L   L   D   W   L   W   W   W   L  \n",
       "354    60    46 ...    L    W   L   D   L   W   L   L   L   L  \n",
       "355    44    50 ...    L    L   D   D   W   W   D   L   L   D  \n",
       "356    27    38 ...    W    W   W   L   D   D   W   W   W   L  \n",
       "357    36    61 ...    W    L   W   D   W   L   L   D   L   W  \n",
       "358    34    44 ...    L    W   W   W   D   L   W   D   W   W  \n",
       "359    53    44 ...    L    L   L   D   L   W   L   D   D   L  \n",
       "360    39    50 ...    D    L   W   L   L   L   D   L   W   W  \n",
       "361    67    61 ...    L    D   L   L   D   L   L   L   D   L  \n",
       "362    30    50 ...    L    W   L   W   D   L   L   W   W   D  \n",
       "363    50    54 ...    D    W   W   W   W   L   D   W   L   W  \n",
       "364    53    49 ...    L    L   L   L   D   W   W   W   L   L  \n",
       "365    43    48 ...    L    L   W   L   D   W   L   W   D   D  \n",
       "366    36    35 ...    W    D   L   L   L   W   L   D   W   W  \n",
       "367    44    36 ...    W    W   W   W   W   W   L   W   D   L  \n",
       "368    47    28 ...    D    D   W   W   D   W   W   D   L   W  \n",
       "369    35    50 ...    D    D   L   W   W   W   D   D   W   L  \n",
       "370    35    47 ...    D    W   D   D   L   W   W   D   D   W  \n",
       "371    56    53 ...    L    D   W   W   W   L   L   L   W   L  \n",
       "372    31    50 ...    L    D   D   D   W   W   W   W   D   D  \n",
       "373    51    48 ...    W    L   L   W   L   W   L   W   L   L  \n",
       "374    49    53 ...    W    W   L   L   L   L   W   D   W   W  \n",
       "375    51    37 ...    L    D   L   W   L   L   W   L   W   L  \n",
       "376    54    68 ...    D    W   W   L   W   L   L   D   W   L  \n",
       "377    38    31 ...    W    W   W   L   W   L   W   D   W   L  \n",
       "378    63    45 ...    L    L   D   L   L   W   L   D   L   L  \n",
       "379    44    42 ...    D    L   W   D   L   W   D   L   W   D  \n",
       "\n",
       "[380 rows x 22 columns]"
      ]
     },
     "execution_count": 341,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "playing_statistics_3"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 342,
   "metadata": {},
   "outputs": [],
   "source": [
    "cols = ['Date', 'HomeTeam', 'AwayTeam', 'FTHG', 'FTAG', 'FTR', 'HTGS', 'ATGS', 'HTGC', 'ATGC', 'HTP', 'ATP', 'HM1', 'HM2', 'HM3',\n",
    "        'HM4', 'HM5', 'AM1', 'AM2', 'AM3', 'AM4', 'AM5' ]\n",
    "\n",
    "# print(playing_statistics_2.columns)\n",
    "\n",
    "# playing_statistics_1 = playing_statistics_1[cols]\n",
    "playing_statistics_2 = playing_statistics_2[cols]\n",
    "playing_statistics_3 = playing_statistics_3[cols]\n",
    "playing_statistics_4 = playing_statistics_4[cols]\n",
    "playing_statistics_5 = playing_statistics_5[cols]\n",
    "playing_statistics_6 = playing_statistics_6[cols]\n",
    "playing_statistics_7 = playing_statistics_7[cols]\n",
    "playing_statistics_8 = playing_statistics_8[cols]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 343,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "C:\\Users\\krishna\\Anaconda3\\envs\\tensorflow\\lib\\site-packages\\ipykernel_launcher.py:13: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n",
      "  del sys.path[0]\n",
      "C:\\Users\\krishna\\Anaconda3\\envs\\tensorflow\\lib\\site-packages\\ipykernel_launcher.py:14: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n",
      "  \n"
     ]
    }
   ],
   "source": [
    "Standings = pd.read_csv(loc + \"eplStandings.csv\")\n",
    "Standings.set_index(['Team'], inplace=True)\n",
    "Standings = Standings.fillna(18)\n",
    "\n",
    "def get_last(playing_stat, Standings, year):\n",
    "    HomeTeamLP = []\n",
    "    AwayTeamLP = []\n",
    "    for i in range(380):\n",
    "        ht = playing_stat.iloc[i].HomeTeam\n",
    "        at = playing_stat.iloc[i].AwayTeam\n",
    "        HomeTeamLP.append(Standings.loc[ht][year])\n",
    "        AwayTeamLP.append(Standings.loc[at][year])\n",
    "    playing_stat['HomeTeamLP'] = HomeTeamLP\n",
    "    playing_stat['AwayTeamLP'] = AwayTeamLP\n",
    "    return playing_stat\n",
    "\n",
    "# playing_statistics_1 = get_last(playing_statistics_1, Standings, 0)\n",
    "playing_statistics_2 = get_last(playing_statistics_2, Standings, \"15\")\n",
    "playing_statistics_3 = get_last(playing_statistics_3, Standings, \"14\")\n",
    "playing_statistics_4 = get_last(playing_statistics_3, Standings, \"13\")\n",
    "playing_statistics_5 = get_last(playing_statistics_3, Standings, \"12\")\n",
    "playing_statistics_6 = get_last(playing_statistics_3, Standings, \"11\")\n",
    "playing_statistics_7 = get_last(playing_statistics_3, Standings, \"10\")\n",
    "playing_statistics_8 = get_last(playing_statistics_3, Standings, \"9\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 344,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Date</th>\n",
       "      <th>HomeTeam</th>\n",
       "      <th>AwayTeam</th>\n",
       "      <th>FTHG</th>\n",
       "      <th>FTAG</th>\n",
       "      <th>FTR</th>\n",
       "      <th>HTGS</th>\n",
       "      <th>ATGS</th>\n",
       "      <th>HTGC</th>\n",
       "      <th>ATGC</th>\n",
       "      <th>...</th>\n",
       "      <th>HM3</th>\n",
       "      <th>HM4</th>\n",
       "      <th>HM5</th>\n",
       "      <th>AM1</th>\n",
       "      <th>AM2</th>\n",
       "      <th>AM3</th>\n",
       "      <th>AM4</th>\n",
       "      <th>AM5</th>\n",
       "      <th>HomeTeamLP</th>\n",
       "      <th>AwayTeamLP</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>2014-08-16</td>\n",
       "      <td>Arsenal</td>\n",
       "      <td>Crystal Palace</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>H</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>...</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>3.0</td>\n",
       "      <td>18.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2014-08-16</td>\n",
       "      <td>Leicester</td>\n",
       "      <td>Everton</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>D</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>...</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>18.0</td>\n",
       "      <td>8.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>2014-08-16</td>\n",
       "      <td>Man United</td>\n",
       "      <td>Swansea</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>A</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>...</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>2.0</td>\n",
       "      <td>18.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>2014-08-16</td>\n",
       "      <td>QPR</td>\n",
       "      <td>Hull</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>A</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>...</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>18.0</td>\n",
       "      <td>19.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>2014-08-16</td>\n",
       "      <td>Stoke</td>\n",
       "      <td>Aston Villa</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>A</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>...</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>11.0</td>\n",
       "      <td>6.0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>5 rows × 24 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "         Date    HomeTeam        AwayTeam  FTHG  FTAG FTR  HTGS  ATGS  HTGC  \\\n",
       "0  2014-08-16     Arsenal  Crystal Palace     2     1   H     0     0     0   \n",
       "1  2014-08-16   Leicester         Everton     2     2   D     0     0     0   \n",
       "2  2014-08-16  Man United         Swansea     1     2   A     0     0     0   \n",
       "3  2014-08-16         QPR            Hull     0     1   A     0     0     0   \n",
       "4  2014-08-16       Stoke     Aston Villa     0     1   A     0     0     0   \n",
       "\n",
       "   ATGC    ...      HM3  HM4 HM5 AM1 AM2 AM3 AM4 AM5 HomeTeamLP AwayTeamLP  \n",
       "0     0    ...        M    M   M   M   M   M   M   M        3.0       18.0  \n",
       "1     0    ...        M    M   M   M   M   M   M   M       18.0        8.0  \n",
       "2     0    ...        M    M   M   M   M   M   M   M        2.0       18.0  \n",
       "3     0    ...        M    M   M   M   M   M   M   M       18.0       19.0  \n",
       "4     0    ...        M    M   M   M   M   M   M   M       11.0        6.0  \n",
       "\n",
       "[5 rows x 24 columns]"
      ]
     },
     "execution_count": 344,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "playing_statistics_4.head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 345,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "C:\\Users\\krishna\\Anaconda3\\envs\\tensorflow\\lib\\site-packages\\ipykernel_launcher.py:8: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n",
      "  \n"
     ]
    }
   ],
   "source": [
    "def get_mw(playing_stat):\n",
    "    j = 1\n",
    "    MatchWeek = []\n",
    "    for i in range(380):\n",
    "        MatchWeek.append(j)\n",
    "        if ((i + 1)% 10) == 0:\n",
    "            j = j + 1\n",
    "    playing_stat['MW'] = MatchWeek\n",
    "    return playing_stat\n",
    "\n",
    "# playing_statistics_1 = get_mw(playing_statistics_1)\n",
    "playing_statistics_2 = get_mw(playing_statistics_2)\n",
    "playing_statistics_3 = get_mw(playing_statistics_3)\n",
    "playing_statistics_4 = get_mw(playing_statistics_4)\n",
    "playing_statistics_5 = get_mw(playing_statistics_5)\n",
    "playing_statistics_6 = get_mw(playing_statistics_6)\n",
    "playing_statistics_7 = get_mw(playing_statistics_7)\n",
    "playing_statistics_8 = get_mw(playing_statistics_8)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 346,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Index(['Date', 'HomeTeam', 'AwayTeam', 'FTHG', 'FTAG', 'FTR', 'HTGS', 'ATGS',\n",
       "       'HTGC', 'ATGC', 'HTP', 'ATP', 'HM1', 'HM2', 'HM3', 'HM4', 'HM5', 'AM1',\n",
       "       'AM2', 'AM3', 'AM4', 'AM5', 'HomeTeamLP', 'AwayTeamLP', 'MW',\n",
       "       'HTFormPtsStr', 'ATFormPtsStr', 'HTFormPts', 'ATFormPts',\n",
       "       'HTWinStreak3', 'HTWinStreak5', 'HTLossStreak3', 'HTLossStreak5',\n",
       "       'ATWinStreak3', 'ATWinStreak5', 'ATLossStreak3', 'ATLossStreak5'],\n",
       "      dtype='object')"
      ]
     },
     "execution_count": 346,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "playing_stat = pd.concat([playing_statistics_8,\n",
    "                          playing_statistics_7,\n",
    "                         playing_statistics_6,\n",
    "                         playing_statistics_5,\n",
    "                         playing_statistics_4,\n",
    "                         playing_statistics_3,\n",
    "                         playing_statistics_2], ignore_index=True)\n",
    "\n",
    "\n",
    "# Gets the form points.\n",
    "def get_form_points(string):\n",
    "    sum = 0\n",
    "    for letter in string:\n",
    "        sum += get_points(letter)\n",
    "    return sum\n",
    "\n",
    "playing_stat['HTFormPtsStr'] = playing_stat['HM1'] + playing_stat['HM2'] + playing_stat['HM3'] + playing_stat['HM4'] + playing_stat['HM5']\n",
    "playing_stat['ATFormPtsStr'] = playing_stat['AM1'] + playing_stat['AM2'] + playing_stat['AM3'] + playing_stat['AM4'] + playing_stat['AM5']\n",
    "\n",
    "playing_stat['HTFormPts'] = playing_stat['HTFormPtsStr'].apply(get_form_points)\n",
    "playing_stat['ATFormPts'] = playing_stat['ATFormPtsStr'].apply(get_form_points)\n",
    "\n",
    "# Identify Win/Loss Streaks if any.\n",
    "def get_3game_ws(string):\n",
    "    if string[-3:] == 'WWW':\n",
    "        return 1\n",
    "    else:\n",
    "        return 0\n",
    "    \n",
    "def get_5game_ws(string):\n",
    "    if string == 'WWWWW':\n",
    "        return 1\n",
    "    else:\n",
    "        return 0\n",
    "    \n",
    "def get_3game_ls(string):\n",
    "    if string[-3:] == 'LLL':\n",
    "        return 1\n",
    "    else:\n",
    "        return 0\n",
    "    \n",
    "def get_5game_ls(string):\n",
    "    if string == 'LLLLL':\n",
    "        return 1\n",
    "    else:\n",
    "        return 0\n",
    "    \n",
    "playing_stat['HTWinStreak3'] = playing_stat['HTFormPtsStr'].apply(get_3game_ws)\n",
    "playing_stat['HTWinStreak5'] = playing_stat['HTFormPtsStr'].apply(get_5game_ws)\n",
    "playing_stat['HTLossStreak3'] = playing_stat['HTFormPtsStr'].apply(get_3game_ls)\n",
    "playing_stat['HTLossStreak5'] = playing_stat['HTFormPtsStr'].apply(get_5game_ls)\n",
    "\n",
    "playing_stat['ATWinStreak3'] = playing_stat['ATFormPtsStr'].apply(get_3game_ws)\n",
    "playing_stat['ATWinStreak5'] = playing_stat['ATFormPtsStr'].apply(get_5game_ws)\n",
    "playing_stat['ATLossStreak3'] = playing_stat['ATFormPtsStr'].apply(get_3game_ls)\n",
    "playing_stat['ATLossStreak5'] = playing_stat['ATFormPtsStr'].apply(get_5game_ls)\n",
    "\n",
    "playing_stat.keys()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 347,
   "metadata": {},
   "outputs": [],
   "source": [
    "# Get Goal Difference\n",
    "playing_stat['HTGD'] = playing_stat['HTGS'] - playing_stat['HTGC']\n",
    "playing_stat['ATGD'] = playing_stat['ATGS'] - playing_stat['ATGC']\n",
    "\n",
    "# Diff in points\n",
    "playing_stat['DiffPts'] = playing_stat['HTP'] - playing_stat['ATP']\n",
    "playing_stat['DiffFormPts'] = playing_stat['HTFormPts'] - playing_stat['ATFormPts']\n",
    "\n",
    "# Diff in last year positions\n",
    "playing_stat['DiffLP'] = playing_stat['HomeTeamLP'] - playing_stat['AwayTeamLP']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 348,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Date</th>\n",
       "      <th>HomeTeam</th>\n",
       "      <th>AwayTeam</th>\n",
       "      <th>FTHG</th>\n",
       "      <th>FTAG</th>\n",
       "      <th>FTR</th>\n",
       "      <th>HTGS</th>\n",
       "      <th>ATGS</th>\n",
       "      <th>HTGC</th>\n",
       "      <th>ATGC</th>\n",
       "      <th>...</th>\n",
       "      <th>HTLossStreak5</th>\n",
       "      <th>ATWinStreak3</th>\n",
       "      <th>ATWinStreak5</th>\n",
       "      <th>ATLossStreak3</th>\n",
       "      <th>ATLossStreak5</th>\n",
       "      <th>HTGD</th>\n",
       "      <th>ATGD</th>\n",
       "      <th>DiffPts</th>\n",
       "      <th>DiffFormPts</th>\n",
       "      <th>DiffLP</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>2014-08-16</td>\n",
       "      <td>Arsenal</td>\n",
       "      <td>Crystal Palace</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>H</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-15.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2014-08-16</td>\n",
       "      <td>Leicester</td>\n",
       "      <td>Everton</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>D</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>10.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>2014-08-16</td>\n",
       "      <td>Man United</td>\n",
       "      <td>Swansea</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>A</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-16.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>2014-08-16</td>\n",
       "      <td>QPR</td>\n",
       "      <td>Hull</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>A</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>2014-08-16</td>\n",
       "      <td>Stoke</td>\n",
       "      <td>Aston Villa</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>A</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>5.0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>5 rows × 42 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "         Date    HomeTeam        AwayTeam  FTHG  FTAG FTR  HTGS  ATGS  HTGC  \\\n",
       "0  2014-08-16     Arsenal  Crystal Palace     2     1   H     0     0     0   \n",
       "1  2014-08-16   Leicester         Everton     2     2   D     0     0     0   \n",
       "2  2014-08-16  Man United         Swansea     1     2   A     0     0     0   \n",
       "3  2014-08-16         QPR            Hull     0     1   A     0     0     0   \n",
       "4  2014-08-16       Stoke     Aston Villa     0     1   A     0     0     0   \n",
       "\n",
       "   ATGC  ...    HTLossStreak5  ATWinStreak3 ATWinStreak5 ATLossStreak3  \\\n",
       "0     0  ...                0             0            0             0   \n",
       "1     0  ...                0             0            0             0   \n",
       "2     0  ...                0             0            0             0   \n",
       "3     0  ...                0             0            0             0   \n",
       "4     0  ...                0             0            0             0   \n",
       "\n",
       "  ATLossStreak5 HTGD ATGD DiffPts DiffFormPts DiffLP  \n",
       "0             0    0    0       0           0  -15.0  \n",
       "1             0    0    0       0           0   10.0  \n",
       "2             0    0    0       0           0  -16.0  \n",
       "3             0    0    0       0           0   -1.0  \n",
       "4             0    0    0       0           0    5.0  \n",
       "\n",
       "[5 rows x 42 columns]"
      ]
     },
     "execution_count": 348,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "playing_stat.head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 349,
   "metadata": {},
   "outputs": [],
   "source": [
    "def only_hw(string):\n",
    "    if string == 'H':\n",
    "        return 'H'\n",
    "    else:\n",
    "        return 'NH'\n",
    "    \n",
    "playing_stat['FTR'] = playing_stat.FTR.apply(only_hw)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 350,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>FTR</th>\n",
       "      <th>HTGS</th>\n",
       "      <th>ATGS</th>\n",
       "      <th>HTGC</th>\n",
       "      <th>ATGC</th>\n",
       "      <th>HTP</th>\n",
       "      <th>ATP</th>\n",
       "      <th>HM1</th>\n",
       "      <th>HM2</th>\n",
       "      <th>HM3</th>\n",
       "      <th>...</th>\n",
       "      <th>HTLossStreak5</th>\n",
       "      <th>ATWinStreak3</th>\n",
       "      <th>ATWinStreak5</th>\n",
       "      <th>ATLossStreak3</th>\n",
       "      <th>ATLossStreak5</th>\n",
       "      <th>HTGD</th>\n",
       "      <th>ATGD</th>\n",
       "      <th>DiffPts</th>\n",
       "      <th>DiffFormPts</th>\n",
       "      <th>DiffLP</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>H</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-15.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>NH</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>10.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>NH</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-16.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>NH</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>NH</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>5.0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>5 rows × 31 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "  FTR  HTGS  ATGS  HTGC  ATGC  HTP  ATP HM1 HM2 HM3   ...   HTLossStreak5  \\\n",
       "0   H     0     0     0     0    0    0   M   M   M   ...               0   \n",
       "1  NH     0     0     0     0    0    0   M   M   M   ...               0   \n",
       "2  NH     0     0     0     0    0    0   M   M   M   ...               0   \n",
       "3  NH     0     0     0     0    0    0   M   M   M   ...               0   \n",
       "4  NH     0     0     0     0    0    0   M   M   M   ...               0   \n",
       "\n",
       "  ATWinStreak3 ATWinStreak5 ATLossStreak3 ATLossStreak5 HTGD ATGD  DiffPts  \\\n",
       "0            0            0             0             0    0    0        0   \n",
       "1            0            0             0             0    0    0        0   \n",
       "2            0            0             0             0    0    0        0   \n",
       "3            0            0             0             0    0    0        0   \n",
       "4            0            0             0             0    0    0        0   \n",
       "\n",
       "   DiffFormPts  DiffLP  \n",
       "0            0   -15.0  \n",
       "1            0    10.0  \n",
       "2            0   -16.0  \n",
       "3            0    -1.0  \n",
       "4            0     5.0  \n",
       "\n",
       "[5 rows x 31 columns]"
      ]
     },
     "execution_count": 350,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "playing_stat=playing_stat.drop([\"Date\",\"HomeTeam\",\"AwayTeam\",\"HomeTeamLP\",\"AwayTeamLP\",\"HTFormPts\",\"ATFormPts\",\n",
    "                                \"FTHG\",\"FTAG\",\"HTFormPtsStr\",\"ATFormPtsStr\"],axis=1)\n",
    "playing_stat.head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 351,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Index(['FTR', 'HTGS', 'ATGS', 'HTGC', 'ATGC', 'HTP', 'ATP', 'HM1', 'HM2',\n",
       "       'HM3', 'HM4', 'HM5', 'AM1', 'AM2', 'AM3', 'AM4', 'AM5', 'MW',\n",
       "       'HTWinStreak3', 'HTWinStreak5', 'HTLossStreak3', 'HTLossStreak5',\n",
       "       'ATWinStreak3', 'ATWinStreak5', 'ATLossStreak3', 'ATLossStreak5',\n",
       "       'HTGD', 'ATGD', 'DiffPts', 'DiffFormPts', 'DiffLP'],\n",
       "      dtype='object')"
      ]
     },
     "execution_count": 351,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "playing_stat.keys()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 352,
   "metadata": {},
   "outputs": [],
   "source": [
    "# Scale DiffPts , DiffFormPts, HTGD, ATGD by Matchweek.\n",
    "cols = ['HTGD','ATGD','DiffPts','DiffFormPts','HTP','ATP']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 353,
   "metadata": {},
   "outputs": [],
   "source": [
    "playing_stat.MW = playing_stat.MW.astype(float)\n",
    "\n",
    "for col in cols:\n",
    "    playing_stat[col] = playing_stat[col] / playing_stat.MW"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 354,
   "metadata": {},
   "outputs": [],
   "source": [
    "# playing_stat.HTGS=(playing_stat.HTGS)/\n",
    "playing_stat.HTGS=playing_stat.HTGS/playing_stat.HTGS.max()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 355,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>FTR</th>\n",
       "      <th>HTGS</th>\n",
       "      <th>ATGS</th>\n",
       "      <th>HTGC</th>\n",
       "      <th>ATGC</th>\n",
       "      <th>HTP</th>\n",
       "      <th>ATP</th>\n",
       "      <th>HM1</th>\n",
       "      <th>HM2</th>\n",
       "      <th>HM3</th>\n",
       "      <th>...</th>\n",
       "      <th>HTLossStreak5</th>\n",
       "      <th>ATWinStreak3</th>\n",
       "      <th>ATWinStreak5</th>\n",
       "      <th>ATLossStreak3</th>\n",
       "      <th>ATLossStreak5</th>\n",
       "      <th>HTGD</th>\n",
       "      <th>ATGD</th>\n",
       "      <th>DiffPts</th>\n",
       "      <th>DiffFormPts</th>\n",
       "      <th>DiffLP</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>H</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-15.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>10.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-16.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>5.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>5.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>13.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>H</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-11.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>13.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>17.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.012346</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.028986</td>\n",
       "      <td>1.500000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>W</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.500000</td>\n",
       "      <td>-1.000000</td>\n",
       "      <td>1.500000</td>\n",
       "      <td>1.500000</td>\n",
       "      <td>-12.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>H</td>\n",
       "      <td>0.037037</td>\n",
       "      <td>0.025316</td>\n",
       "      <td>0.013699</td>\n",
       "      <td>0.028986</td>\n",
       "      <td>1.500000</td>\n",
       "      <td>0.500000</td>\n",
       "      <td>W</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>-17.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.012346</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.027397</td>\n",
       "      <td>0.014493</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>L</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.500000</td>\n",
       "      <td>-0.500000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.024691</td>\n",
       "      <td>0.025316</td>\n",
       "      <td>0.027397</td>\n",
       "      <td>0.014493</td>\n",
       "      <td>0.500000</td>\n",
       "      <td>1.500000</td>\n",
       "      <td>D</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.500000</td>\n",
       "      <td>-1.000000</td>\n",
       "      <td>-1.000000</td>\n",
       "      <td>5.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.012346</td>\n",
       "      <td>0.025316</td>\n",
       "      <td>0.027397</td>\n",
       "      <td>0.028986</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.500000</td>\n",
       "      <td>L</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.500000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.500000</td>\n",
       "      <td>-0.500000</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>H</td>\n",
       "      <td>0.024691</td>\n",
       "      <td>0.012658</td>\n",
       "      <td>0.013699</td>\n",
       "      <td>0.043478</td>\n",
       "      <td>1.500000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>W</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.500000</td>\n",
       "      <td>-1.000000</td>\n",
       "      <td>1.500000</td>\n",
       "      <td>1.500000</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.012346</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.014493</td>\n",
       "      <td>1.500000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>W</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.500000</td>\n",
       "      <td>-0.500000</td>\n",
       "      <td>1.500000</td>\n",
       "      <td>1.500000</td>\n",
       "      <td>8.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.024691</td>\n",
       "      <td>0.012658</td>\n",
       "      <td>0.027397</td>\n",
       "      <td>0.028986</td>\n",
       "      <td>0.500000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>D</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.500000</td>\n",
       "      <td>0.500000</td>\n",
       "      <td>0.500000</td>\n",
       "      <td>11.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>H</td>\n",
       "      <td>0.012346</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.014493</td>\n",
       "      <td>1.500000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>W</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.500000</td>\n",
       "      <td>-0.500000</td>\n",
       "      <td>1.500000</td>\n",
       "      <td>1.500000</td>\n",
       "      <td>-14.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>H</td>\n",
       "      <td>0.024691</td>\n",
       "      <td>0.025316</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.014493</td>\n",
       "      <td>1.500000</td>\n",
       "      <td>1.500000</td>\n",
       "      <td>W</td>\n",
       "      <td>M</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>0.500000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-2.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.012346</td>\n",
       "      <td>0.025316</td>\n",
       "      <td>0.054795</td>\n",
       "      <td>0.043478</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.333333</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-1.000000</td>\n",
       "      <td>-0.333333</td>\n",
       "      <td>-0.333333</td>\n",
       "      <td>-0.333333</td>\n",
       "      <td>16.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.049383</td>\n",
       "      <td>0.063291</td>\n",
       "      <td>0.054795</td>\n",
       "      <td>0.014493</td>\n",
       "      <td>0.666667</td>\n",
       "      <td>2.000000</td>\n",
       "      <td>D</td>\n",
       "      <td>D</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.333333</td>\n",
       "      <td>-1.333333</td>\n",
       "      <td>-1.333333</td>\n",
       "      <td>7.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.061728</td>\n",
       "      <td>0.012658</td>\n",
       "      <td>0.013699</td>\n",
       "      <td>0.028986</td>\n",
       "      <td>2.000000</td>\n",
       "      <td>0.333333</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1.333333</td>\n",
       "      <td>-0.333333</td>\n",
       "      <td>1.666667</td>\n",
       "      <td>1.666667</td>\n",
       "      <td>-6.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.025316</td>\n",
       "      <td>0.027397</td>\n",
       "      <td>0.072464</td>\n",
       "      <td>0.333333</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.666667</td>\n",
       "      <td>-1.000000</td>\n",
       "      <td>0.333333</td>\n",
       "      <td>0.333333</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>H</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.037975</td>\n",
       "      <td>0.068493</td>\n",
       "      <td>0.043478</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.666667</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-1.666667</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.666667</td>\n",
       "      <td>-0.666667</td>\n",
       "      <td>5.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>H</td>\n",
       "      <td>0.037037</td>\n",
       "      <td>0.025316</td>\n",
       "      <td>0.013699</td>\n",
       "      <td>0.028986</td>\n",
       "      <td>2.000000</td>\n",
       "      <td>0.666667</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.666667</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.333333</td>\n",
       "      <td>1.333333</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.037037</td>\n",
       "      <td>0.012658</td>\n",
       "      <td>0.027397</td>\n",
       "      <td>0.028986</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>0.333333</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.333333</td>\n",
       "      <td>-0.333333</td>\n",
       "      <td>0.666667</td>\n",
       "      <td>0.666667</td>\n",
       "      <td>-1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>H</td>\n",
       "      <td>0.012346</td>\n",
       "      <td>0.025316</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.014493</td>\n",
       "      <td>1.333333</td>\n",
       "      <td>1.333333</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.333333</td>\n",
       "      <td>0.333333</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-13.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.024691</td>\n",
       "      <td>0.050633</td>\n",
       "      <td>0.054795</td>\n",
       "      <td>0.043478</td>\n",
       "      <td>0.333333</td>\n",
       "      <td>1.333333</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.666667</td>\n",
       "      <td>0.333333</td>\n",
       "      <td>-1.000000</td>\n",
       "      <td>-1.000000</td>\n",
       "      <td>15.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.061728</td>\n",
       "      <td>0.037975</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.057971</td>\n",
       "      <td>2.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>M</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1.666667</td>\n",
       "      <td>-0.333333</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>-3.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2630</th>\n",
       "      <td>H</td>\n",
       "      <td>0.493827</td>\n",
       "      <td>0.759494</td>\n",
       "      <td>0.945205</td>\n",
       "      <td>0.579710</td>\n",
       "      <td>0.027778</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.805556</td>\n",
       "      <td>0.555556</td>\n",
       "      <td>0.027778</td>\n",
       "      <td>-0.111111</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2631</th>\n",
       "      <td>H</td>\n",
       "      <td>0.839506</td>\n",
       "      <td>0.645570</td>\n",
       "      <td>0.575342</td>\n",
       "      <td>0.391304</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.722222</td>\n",
       "      <td>0.666667</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>0.111111</td>\n",
       "      <td>-3.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2632</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.876543</td>\n",
       "      <td>0.493671</td>\n",
       "      <td>0.575342</td>\n",
       "      <td>0.666667</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.805556</td>\n",
       "      <td>-0.194444</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>0.222222</td>\n",
       "      <td>2.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2633</th>\n",
       "      <td>H</td>\n",
       "      <td>0.925926</td>\n",
       "      <td>0.329114</td>\n",
       "      <td>0.397260</td>\n",
       "      <td>0.652174</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>0.027778</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1.277778</td>\n",
       "      <td>-0.527778</td>\n",
       "      <td>0.055556</td>\n",
       "      <td>0.194444</td>\n",
       "      <td>-8.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2634</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.481481</td>\n",
       "      <td>0.860759</td>\n",
       "      <td>0.630137</td>\n",
       "      <td>0.608696</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>D</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.194444</td>\n",
       "      <td>0.722222</td>\n",
       "      <td>-0.083333</td>\n",
       "      <td>-0.277778</td>\n",
       "      <td>4.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2635</th>\n",
       "      <td>H</td>\n",
       "      <td>0.740741</td>\n",
       "      <td>0.468354</td>\n",
       "      <td>0.547945</td>\n",
       "      <td>0.840580</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.555556</td>\n",
       "      <td>-0.583333</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.138889</td>\n",
       "      <td>-2.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2636</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.506173</td>\n",
       "      <td>0.949367</td>\n",
       "      <td>0.616438</td>\n",
       "      <td>0.420290</td>\n",
       "      <td>0.027778</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.111111</td>\n",
       "      <td>1.277778</td>\n",
       "      <td>-0.055556</td>\n",
       "      <td>-0.305556</td>\n",
       "      <td>4.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2637</th>\n",
       "      <td>H</td>\n",
       "      <td>0.617284</td>\n",
       "      <td>0.443038</td>\n",
       "      <td>0.863014</td>\n",
       "      <td>0.710145</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.361111</td>\n",
       "      <td>-0.388889</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-2.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2638</th>\n",
       "      <td>H</td>\n",
       "      <td>0.864198</td>\n",
       "      <td>0.569620</td>\n",
       "      <td>0.506849</td>\n",
       "      <td>0.782609</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>D</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.916667</td>\n",
       "      <td>-0.250000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.111111</td>\n",
       "      <td>3.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2639</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.320988</td>\n",
       "      <td>0.493671</td>\n",
       "      <td>0.616438</td>\n",
       "      <td>0.666667</td>\n",
       "      <td>0.027778</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.527778</td>\n",
       "      <td>-0.194444</td>\n",
       "      <td>0.027778</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>12.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2640</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.481481</td>\n",
       "      <td>0.911392</td>\n",
       "      <td>0.712329</td>\n",
       "      <td>0.623188</td>\n",
       "      <td>0.027027</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>D</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.351351</td>\n",
       "      <td>0.783784</td>\n",
       "      <td>-0.054054</td>\n",
       "      <td>-0.189189</td>\n",
       "      <td>7.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2641</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.345679</td>\n",
       "      <td>0.518987</td>\n",
       "      <td>0.849315</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.918919</td>\n",
       "      <td>-0.756757</td>\n",
       "      <td>-0.081081</td>\n",
       "      <td>-0.081081</td>\n",
       "      <td>5.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2642</th>\n",
       "      <td>H</td>\n",
       "      <td>0.567901</td>\n",
       "      <td>0.455696</td>\n",
       "      <td>0.835616</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.405405</td>\n",
       "      <td>-0.891892</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-3.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2643</th>\n",
       "      <td>H</td>\n",
       "      <td>0.901235</td>\n",
       "      <td>0.658228</td>\n",
       "      <td>0.328767</td>\n",
       "      <td>0.420290</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1.324324</td>\n",
       "      <td>0.621622</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>0.189189</td>\n",
       "      <td>-2.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2644</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.555556</td>\n",
       "      <td>0.898734</td>\n",
       "      <td>0.808219</td>\n",
       "      <td>0.608696</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>0.027027</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>D</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.378378</td>\n",
       "      <td>0.783784</td>\n",
       "      <td>0.054054</td>\n",
       "      <td>-0.027027</td>\n",
       "      <td>-1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2645</th>\n",
       "      <td>H</td>\n",
       "      <td>0.938272</td>\n",
       "      <td>0.468354</td>\n",
       "      <td>0.397260</td>\n",
       "      <td>0.855072</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1.270270</td>\n",
       "      <td>-0.594595</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>0.243243</td>\n",
       "      <td>-3.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2646</th>\n",
       "      <td>H</td>\n",
       "      <td>0.888889</td>\n",
       "      <td>0.354430</td>\n",
       "      <td>0.589041</td>\n",
       "      <td>0.898551</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.783784</td>\n",
       "      <td>-0.918919</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>0.216216</td>\n",
       "      <td>-15.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2647</th>\n",
       "      <td>H</td>\n",
       "      <td>0.888889</td>\n",
       "      <td>0.518987</td>\n",
       "      <td>0.520548</td>\n",
       "      <td>0.666667</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0.918919</td>\n",
       "      <td>-0.135135</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>0.270270</td>\n",
       "      <td>-10.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2648</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.506173</td>\n",
       "      <td>0.658228</td>\n",
       "      <td>0.643836</td>\n",
       "      <td>0.420290</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.162162</td>\n",
       "      <td>0.621622</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2649</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.567901</td>\n",
       "      <td>0.924051</td>\n",
       "      <td>0.767123</td>\n",
       "      <td>0.347826</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.270270</td>\n",
       "      <td>1.324324</td>\n",
       "      <td>-0.081081</td>\n",
       "      <td>-0.135135</td>\n",
       "      <td>-2.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2650</th>\n",
       "      <td>H</td>\n",
       "      <td>0.913580</td>\n",
       "      <td>0.772152</td>\n",
       "      <td>0.589041</td>\n",
       "      <td>0.594203</td>\n",
       "      <td>0.078947</td>\n",
       "      <td>0.078947</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.815789</td>\n",
       "      <td>0.526316</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.131579</td>\n",
       "      <td>-9.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2651</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.469136</td>\n",
       "      <td>0.569620</td>\n",
       "      <td>0.726027</td>\n",
       "      <td>0.913043</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.394737</td>\n",
       "      <td>-0.473684</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.052632</td>\n",
       "      <td>11.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2652</th>\n",
       "      <td>H</td>\n",
       "      <td>0.987654</td>\n",
       "      <td>0.354430</td>\n",
       "      <td>0.438356</td>\n",
       "      <td>0.927536</td>\n",
       "      <td>0.078947</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1.263158</td>\n",
       "      <td>-0.947368</td>\n",
       "      <td>0.078947</td>\n",
       "      <td>0.315789</td>\n",
       "      <td>-7.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2653</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.444444</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>0.362319</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.078947</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.973684</td>\n",
       "      <td>1.421053</td>\n",
       "      <td>-0.078947</td>\n",
       "      <td>-0.210526</td>\n",
       "      <td>15.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2654</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.580247</td>\n",
       "      <td>0.683544</td>\n",
       "      <td>0.849315</td>\n",
       "      <td>0.956522</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.078947</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.394737</td>\n",
       "      <td>-0.315789</td>\n",
       "      <td>-0.078947</td>\n",
       "      <td>-0.105263</td>\n",
       "      <td>-15.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2655</th>\n",
       "      <td>H</td>\n",
       "      <td>0.925926</td>\n",
       "      <td>0.341772</td>\n",
       "      <td>0.575342</td>\n",
       "      <td>0.724638</td>\n",
       "      <td>0.078947</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.868421</td>\n",
       "      <td>-0.605263</td>\n",
       "      <td>0.078947</td>\n",
       "      <td>0.157895</td>\n",
       "      <td>-10.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2656</th>\n",
       "      <td>H</td>\n",
       "      <td>0.641975</td>\n",
       "      <td>0.632911</td>\n",
       "      <td>0.397260</td>\n",
       "      <td>0.884058</td>\n",
       "      <td>0.026316</td>\n",
       "      <td>0.078947</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.605263</td>\n",
       "      <td>-0.289474</td>\n",
       "      <td>-0.052632</td>\n",
       "      <td>-0.078947</td>\n",
       "      <td>-10.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2657</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.506173</td>\n",
       "      <td>0.506329</td>\n",
       "      <td>0.643836</td>\n",
       "      <td>0.811594</td>\n",
       "      <td>0.026316</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.157895</td>\n",
       "      <td>-0.421053</td>\n",
       "      <td>0.026316</td>\n",
       "      <td>0.026316</td>\n",
       "      <td>-3.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2658</th>\n",
       "      <td>H</td>\n",
       "      <td>0.530864</td>\n",
       "      <td>0.531646</td>\n",
       "      <td>0.945205</td>\n",
       "      <td>0.710145</td>\n",
       "      <td>0.078947</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.684211</td>\n",
       "      <td>-0.184211</td>\n",
       "      <td>0.078947</td>\n",
       "      <td>0.236842</td>\n",
       "      <td>-2.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2659</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.493827</td>\n",
       "      <td>0.949367</td>\n",
       "      <td>0.863014</td>\n",
       "      <td>0.565217</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.078947</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.605263</td>\n",
       "      <td>0.947368</td>\n",
       "      <td>-0.078947</td>\n",
       "      <td>-0.289474</td>\n",
       "      <td>9.0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>2660 rows × 31 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "     FTR      HTGS      ATGS      HTGC      ATGC       HTP       ATP HM1 HM2  \\\n",
       "0      H  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000   M   M   \n",
       "1     NH  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000   M   M   \n",
       "2     NH  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000   M   M   \n",
       "3     NH  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000   M   M   \n",
       "4     NH  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000   M   M   \n",
       "5     NH  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000   M   M   \n",
       "6     NH  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000   M   M   \n",
       "7      H  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000   M   M   \n",
       "8     NH  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000   M   M   \n",
       "9     NH  0.000000  0.000000  0.000000  0.000000  0.000000  0.000000   M   M   \n",
       "10    NH  0.012346  0.000000  0.000000  0.028986  1.500000  0.000000   W   M   \n",
       "11     H  0.037037  0.025316  0.013699  0.028986  1.500000  0.500000   W   M   \n",
       "12    NH  0.012346  0.000000  0.027397  0.014493  0.000000  0.000000   L   M   \n",
       "13    NH  0.024691  0.025316  0.027397  0.014493  0.500000  1.500000   D   M   \n",
       "14    NH  0.012346  0.025316  0.027397  0.028986  0.000000  0.500000   L   M   \n",
       "15     H  0.024691  0.012658  0.013699  0.043478  1.500000  0.000000   W   M   \n",
       "16    NH  0.012346  0.000000  0.000000  0.014493  1.500000  0.000000   W   M   \n",
       "17    NH  0.024691  0.012658  0.027397  0.028986  0.500000  0.000000   D   M   \n",
       "18     H  0.012346  0.000000  0.000000  0.014493  1.500000  0.000000   W   M   \n",
       "19     H  0.024691  0.025316  0.000000  0.014493  1.500000  1.500000   W   M   \n",
       "20    NH  0.012346  0.025316  0.054795  0.043478  0.000000  0.333333   L   L   \n",
       "21    NH  0.049383  0.063291  0.054795  0.014493  0.666667  2.000000   D   D   \n",
       "22    NH  0.061728  0.012658  0.013699  0.028986  2.000000  0.333333   W   W   \n",
       "23    NH  0.000000  0.025316  0.027397  0.072464  0.333333  0.000000   D   L   \n",
       "24     H  0.000000  0.037975  0.068493  0.043478  0.000000  0.666667   L   L   \n",
       "25     H  0.037037  0.025316  0.013699  0.028986  2.000000  0.666667   W   W   \n",
       "26    NH  0.037037  0.012658  0.027397  0.028986  1.000000  0.333333   W   L   \n",
       "27     H  0.012346  0.025316  0.000000  0.014493  1.333333  1.333333   D   W   \n",
       "28    NH  0.024691  0.050633  0.054795  0.043478  0.333333  1.333333   L   D   \n",
       "29    NH  0.061728  0.037975  0.000000  0.057971  2.000000  1.000000   W   W   \n",
       "...   ..       ...       ...       ...       ...       ...       ...  ..  ..   \n",
       "2630   H  0.493827  0.759494  0.945205  0.579710  0.027778  0.000000   D   W   \n",
       "2631   H  0.839506  0.645570  0.575342  0.391304  0.083333  0.000000   W   W   \n",
       "2632  NH  0.876543  0.493671  0.575342  0.666667  0.083333  0.000000   W   L   \n",
       "2633   H  0.925926  0.329114  0.397260  0.652174  0.083333  0.027778   W   W   \n",
       "2634  NH  0.481481  0.860759  0.630137  0.608696  0.000000  0.083333   L   D   \n",
       "2635   H  0.740741  0.468354  0.547945  0.840580  0.000000  0.000000   L   D   \n",
       "2636  NH  0.506173  0.949367  0.616438  0.420290  0.027778  0.083333   D   L   \n",
       "2637   H  0.617284  0.443038  0.863014  0.710145  0.083333  0.083333   W   W   \n",
       "2638   H  0.864198  0.569620  0.506849  0.782609  0.083333  0.083333   W   D   \n",
       "2639  NH  0.320988  0.493671  0.616438  0.666667  0.027778  0.000000   D   W   \n",
       "2640  NH  0.481481  0.911392  0.712329  0.623188  0.027027  0.081081   D   D   \n",
       "2641  NH  0.345679  0.518987  0.849315  1.000000  0.000000  0.081081   L   W   \n",
       "2642   H  0.567901  0.455696  0.835616  1.000000  0.000000  0.000000   L   L   \n",
       "2643   H  0.901235  0.658228  0.328767  0.420290  0.081081  0.000000   W   L   \n",
       "2644  NH  0.555556  0.898734  0.808219  0.608696  0.081081  0.027027   W   D   \n",
       "2645   H  0.938272  0.468354  0.397260  0.855072  0.081081  0.000000   W   W   \n",
       "2646   H  0.888889  0.354430  0.589041  0.898551  0.081081  0.000000   W   W   \n",
       "2647   H  0.888889  0.518987  0.520548  0.666667  0.081081  0.000000   W   W   \n",
       "2648  NH  0.506173  0.658228  0.643836  0.420290  0.081081  0.000000   W   L   \n",
       "2649  NH  0.567901  0.924051  0.767123  0.347826  0.000000  0.081081   L   W   \n",
       "2650   H  0.913580  0.772152  0.589041  0.594203  0.078947  0.078947   W   W   \n",
       "2651  NH  0.469136  0.569620  0.726027  0.913043  0.000000  0.000000   L   D   \n",
       "2652   H  0.987654  0.354430  0.438356  0.927536  0.078947  0.000000   W   W   \n",
       "2653  NH  0.444444  1.000000  1.000000  0.362319  0.000000  0.078947   L   L   \n",
       "2654  NH  0.580247  0.683544  0.849315  0.956522  0.000000  0.078947   L   L   \n",
       "2655   H  0.925926  0.341772  0.575342  0.724638  0.078947  0.000000   W   D   \n",
       "2656   H  0.641975  0.632911  0.397260  0.884058  0.026316  0.078947   D   L   \n",
       "2657  NH  0.506173  0.506329  0.643836  0.811594  0.026316  0.000000   D   W   \n",
       "2658   H  0.530864  0.531646  0.945205  0.710145  0.078947  0.000000   W   W   \n",
       "2659  NH  0.493827  0.949367  0.863014  0.565217  0.000000  0.078947   L   L   \n",
       "\n",
       "     HM3   ...   HTLossStreak5 ATWinStreak3 ATWinStreak5 ATLossStreak3  \\\n",
       "0      M   ...               0            0            0             0   \n",
       "1      M   ...               0            0            0             0   \n",
       "2      M   ...               0            0            0             0   \n",
       "3      M   ...               0            0            0             0   \n",
       "4      M   ...               0            0            0             0   \n",
       "5      M   ...               0            0            0             0   \n",
       "6      M   ...               0            0            0             0   \n",
       "7      M   ...               0            0            0             0   \n",
       "8      M   ...               0            0            0             0   \n",
       "9      M   ...               0            0            0             0   \n",
       "10     M   ...               0            0            0             0   \n",
       "11     M   ...               0            0            0             0   \n",
       "12     M   ...               0            0            0             0   \n",
       "13     M   ...               0            0            0             0   \n",
       "14     M   ...               0            0            0             0   \n",
       "15     M   ...               0            0            0             0   \n",
       "16     M   ...               0            0            0             0   \n",
       "17     M   ...               0            0            0             0   \n",
       "18     M   ...               0            0            0             0   \n",
       "19     M   ...               0            0            0             0   \n",
       "20     M   ...               0            0            0             0   \n",
       "21     M   ...               0            0            0             0   \n",
       "22     M   ...               0            0            0             0   \n",
       "23     M   ...               0            0            0             0   \n",
       "24     M   ...               0            0            0             0   \n",
       "25     M   ...               0            0            0             0   \n",
       "26     M   ...               0            0            0             0   \n",
       "27     M   ...               0            0            0             0   \n",
       "28     M   ...               0            0            0             0   \n",
       "29     M   ...               0            0            0             0   \n",
       "...   ..   ...             ...          ...          ...           ...   \n",
       "2630   L   ...               0            0            0             0   \n",
       "2631   L   ...               0            0            0             0   \n",
       "2632   W   ...               0            0            0             0   \n",
       "2633   W   ...               0            0            0             0   \n",
       "2634   D   ...               0            0            0             0   \n",
       "2635   W   ...               0            0            0             0   \n",
       "2636   L   ...               0            0            0             0   \n",
       "2637   L   ...               0            0            0             0   \n",
       "2638   D   ...               0            0            0             0   \n",
       "2639   L   ...               0            0            0             0   \n",
       "2640   L   ...               0            0            0             0   \n",
       "2641   L   ...               0            0            0             0   \n",
       "2642   L   ...               0            0            0             0   \n",
       "2643   W   ...               0            0            0             0   \n",
       "2644   D   ...               0            0            0             0   \n",
       "2645   W   ...               0            0            0             0   \n",
       "2646   W   ...               0            0            0             0   \n",
       "2647   D   ...               0            0            0             1   \n",
       "2648   D   ...               0            0            0             0   \n",
       "2649   W   ...               0            1            0             0   \n",
       "2650   W   ...               0            0            0             0   \n",
       "2651   W   ...               0            0            0             0   \n",
       "2652   W   ...               0            0            0             0   \n",
       "2653   D   ...               0            0            0             0   \n",
       "2654   W   ...               0            0            0             0   \n",
       "2655   W   ...               0            0            0             0   \n",
       "2656   L   ...               0            0            0             0   \n",
       "2657   L   ...               0            0            0             0   \n",
       "2658   D   ...               0            0            0             0   \n",
       "2659   L   ...               1            0            0             0   \n",
       "\n",
       "     ATLossStreak5      HTGD      ATGD   DiffPts  DiffFormPts  DiffLP  \n",
       "0                0  0.000000  0.000000  0.000000     0.000000   -15.0  \n",
       "1                0  0.000000  0.000000  0.000000     0.000000    10.0  \n",
       "2                0  0.000000  0.000000  0.000000     0.000000   -16.0  \n",
       "3                0  0.000000  0.000000  0.000000     0.000000    -1.0  \n",
       "4                0  0.000000  0.000000  0.000000     0.000000     5.0  \n",
       "5                0  0.000000  0.000000  0.000000     0.000000     5.0  \n",
       "6                0  0.000000  0.000000  0.000000     0.000000    13.0  \n",
       "7                0  0.000000  0.000000  0.000000     0.000000   -11.0  \n",
       "8                0  0.000000  0.000000  0.000000     0.000000    13.0  \n",
       "9                0  0.000000  0.000000  0.000000     0.000000    17.0  \n",
       "10               0  0.500000 -1.000000  1.500000     1.500000   -12.0  \n",
       "11               0  1.000000  0.000000  1.000000     1.000000   -17.0  \n",
       "12               0 -0.500000 -0.500000  0.000000     0.000000     1.0  \n",
       "13               0  0.000000  0.500000 -1.000000    -1.000000     5.0  \n",
       "14               0 -0.500000  0.000000 -0.500000    -0.500000     0.0  \n",
       "15               0  0.500000 -1.000000  1.500000     1.500000     0.0  \n",
       "16               0  0.500000 -0.500000  1.500000     1.500000     8.0  \n",
       "17               0  0.000000 -0.500000  0.500000     0.500000    11.0  \n",
       "18               0  0.500000 -0.500000  1.500000     1.500000   -14.0  \n",
       "19               0  1.000000  0.500000  0.000000     0.000000    -2.0  \n",
       "20               0 -1.000000 -0.333333 -0.333333    -0.333333    16.0  \n",
       "21               0  0.000000  1.333333 -1.333333    -1.333333     7.0  \n",
       "22               0  1.333333 -0.333333  1.666667     1.666667    -6.0  \n",
       "23               0 -0.666667 -1.000000  0.333333     0.333333     0.0  \n",
       "24               0 -1.666667  0.000000 -0.666667    -0.666667     5.0  \n",
       "25               0  0.666667  0.000000  1.333333     1.333333     0.0  \n",
       "26               0  0.333333 -0.333333  0.666667     0.666667    -1.0  \n",
       "27               0  0.333333  0.333333  0.000000     0.000000   -13.0  \n",
       "28               0 -0.666667  0.333333 -1.000000    -1.000000    15.0  \n",
       "29               0  1.666667 -0.333333  1.000000     1.000000    -3.0  \n",
       "...            ...       ...       ...       ...          ...     ...  \n",
       "2630             0 -0.805556  0.555556  0.027778    -0.111111     1.0  \n",
       "2631             0  0.722222  0.666667  0.083333     0.111111    -3.0  \n",
       "2632             0  0.805556 -0.194444  0.083333     0.222222     2.0  \n",
       "2633             0  1.277778 -0.527778  0.055556     0.194444    -8.0  \n",
       "2634             0 -0.194444  0.722222 -0.083333    -0.277778     4.0  \n",
       "2635             0  0.555556 -0.583333  0.000000     0.138889    -2.0  \n",
       "2636             0 -0.111111  1.277778 -0.055556    -0.305556     4.0  \n",
       "2637             0 -0.361111 -0.388889  0.000000     0.000000    -2.0  \n",
       "2638             0  0.916667 -0.250000  0.000000     0.111111     3.0  \n",
       "2639             0 -0.527778 -0.194444  0.027778     0.083333    12.0  \n",
       "2640             0 -0.351351  0.783784 -0.054054    -0.189189     7.0  \n",
       "2641             0 -0.918919 -0.756757 -0.081081    -0.081081     5.0  \n",
       "2642             0 -0.405405 -0.891892  0.000000     0.000000    -3.0  \n",
       "2643             0  1.324324  0.621622  0.081081     0.189189    -2.0  \n",
       "2644             0 -0.378378  0.783784  0.054054    -0.027027    -1.0  \n",
       "2645             0  1.270270 -0.594595  0.081081     0.243243    -3.0  \n",
       "2646             0  0.783784 -0.918919  0.081081     0.216216   -15.0  \n",
       "2647             0  0.918919 -0.135135  0.081081     0.270270   -10.0  \n",
       "2648             0 -0.162162  0.621622  0.081081     0.000000     1.0  \n",
       "2649             0 -0.270270  1.324324 -0.081081    -0.135135    -2.0  \n",
       "2650             0  0.815789  0.526316  0.000000     0.131579    -9.0  \n",
       "2651             0 -0.394737 -0.473684  0.000000    -0.052632    11.0  \n",
       "2652             0  1.263158 -0.947368  0.078947     0.315789    -7.0  \n",
       "2653             0 -0.973684  1.421053 -0.078947    -0.210526    15.0  \n",
       "2654             0 -0.394737 -0.315789 -0.078947    -0.105263   -15.0  \n",
       "2655             0  0.868421 -0.605263  0.078947     0.157895   -10.0  \n",
       "2656             0  0.605263 -0.289474 -0.052632    -0.078947   -10.0  \n",
       "2657             0 -0.157895 -0.421053  0.026316     0.026316    -3.0  \n",
       "2658             0 -0.684211 -0.184211  0.078947     0.236842    -2.0  \n",
       "2659             0 -0.605263  0.947368 -0.078947    -0.289474     9.0  \n",
       "\n",
       "[2660 rows x 31 columns]"
      ]
     },
     "execution_count": 355,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "playing_stat.ATGS=playing_stat.ATGS/playing_stat.ATGS.max()\n",
    "playing_stat.HTGC=playing_stat.HTGC/playing_stat.HTGC.max()\n",
    "playing_stat.ATGC=playing_stat.ATGC/playing_stat.ATGC.max()\n",
    "playing_stat"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 356,
   "metadata": {},
   "outputs": [],
   "source": [
    "playing_stat=playing_stat.drop([\"MW\"],axis=1)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 357,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "(2660, 30)"
      ]
     },
     "execution_count": 357,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "playing_stat.shape"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 358,
   "metadata": {},
   "outputs": [],
   "source": [
    "# Testing set (2015-16 season)\n",
    "playing_stat_test = playing_stat[1860:]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 359,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>FTR</th>\n",
       "      <th>HTGS</th>\n",
       "      <th>ATGS</th>\n",
       "      <th>HTGC</th>\n",
       "      <th>ATGC</th>\n",
       "      <th>HTP</th>\n",
       "      <th>ATP</th>\n",
       "      <th>HM1</th>\n",
       "      <th>HM2</th>\n",
       "      <th>HM3</th>\n",
       "      <th>...</th>\n",
       "      <th>HTLossStreak5</th>\n",
       "      <th>ATWinStreak3</th>\n",
       "      <th>ATWinStreak5</th>\n",
       "      <th>ATLossStreak3</th>\n",
       "      <th>ATLossStreak5</th>\n",
       "      <th>HTGD</th>\n",
       "      <th>ATGD</th>\n",
       "      <th>DiffPts</th>\n",
       "      <th>DiffFormPts</th>\n",
       "      <th>DiffLP</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1860</th>\n",
       "      <td>H</td>\n",
       "      <td>0.444444</td>\n",
       "      <td>0.455696</td>\n",
       "      <td>0.739726</td>\n",
       "      <td>0.826087</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>-0.514286</td>\n",
       "      <td>-0.600000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.342857</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1861</th>\n",
       "      <td>H</td>\n",
       "      <td>0.580247</td>\n",
       "      <td>0.481013</td>\n",
       "      <td>0.506849</td>\n",
       "      <td>0.855072</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.028571</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.285714</td>\n",
       "      <td>-0.600000</td>\n",
       "      <td>-0.028571</td>\n",
       "      <td>-0.028571</td>\n",
       "      <td>-11.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1862</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.728395</td>\n",
       "      <td>0.405063</td>\n",
       "      <td>0.465753</td>\n",
       "      <td>0.666667</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.028571</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0.714286</td>\n",
       "      <td>-0.400000</td>\n",
       "      <td>-0.028571</td>\n",
       "      <td>0.142857</td>\n",
       "      <td>-16.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1863</th>\n",
       "      <td>H</td>\n",
       "      <td>0.345679</td>\n",
       "      <td>0.594937</td>\n",
       "      <td>0.684932</td>\n",
       "      <td>0.376812</td>\n",
       "      <td>0.085714</td>\n",
       "      <td>0.028571</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.628571</td>\n",
       "      <td>0.600000</td>\n",
       "      <td>0.057143</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-5.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1864</th>\n",
       "      <td>H</td>\n",
       "      <td>0.506173</td>\n",
       "      <td>0.493671</td>\n",
       "      <td>0.602740</td>\n",
       "      <td>0.608696</td>\n",
       "      <td>0.085714</td>\n",
       "      <td>0.028571</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.085714</td>\n",
       "      <td>-0.085714</td>\n",
       "      <td>0.057143</td>\n",
       "      <td>0.142857</td>\n",
       "      <td>7.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1865</th>\n",
       "      <td>H</td>\n",
       "      <td>0.518519</td>\n",
       "      <td>0.329114</td>\n",
       "      <td>0.575342</td>\n",
       "      <td>0.753623</td>\n",
       "      <td>0.028571</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.742857</td>\n",
       "      <td>0.028571</td>\n",
       "      <td>0.114286</td>\n",
       "      <td>-1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1866</th>\n",
       "      <td>H</td>\n",
       "      <td>0.839506</td>\n",
       "      <td>0.531646</td>\n",
       "      <td>0.369863</td>\n",
       "      <td>0.681159</td>\n",
       "      <td>0.085714</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1.171429</td>\n",
       "      <td>-0.142857</td>\n",
       "      <td>0.085714</td>\n",
       "      <td>0.114286</td>\n",
       "      <td>-17.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1867</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.679012</td>\n",
       "      <td>0.886076</td>\n",
       "      <td>0.671233</td>\n",
       "      <td>0.521739</td>\n",
       "      <td>0.028571</td>\n",
       "      <td>0.085714</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.171429</td>\n",
       "      <td>0.971429</td>\n",
       "      <td>-0.057143</td>\n",
       "      <td>-0.028571</td>\n",
       "      <td>-1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1868</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.395062</td>\n",
       "      <td>0.835443</td>\n",
       "      <td>0.616438</td>\n",
       "      <td>0.478261</td>\n",
       "      <td>0.085714</td>\n",
       "      <td>0.085714</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.371429</td>\n",
       "      <td>0.942857</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.200000</td>\n",
       "      <td>16.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1869</th>\n",
       "      <td>H</td>\n",
       "      <td>0.320988</td>\n",
       "      <td>0.531646</td>\n",
       "      <td>0.657534</td>\n",
       "      <td>0.608696</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.028571</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.628571</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.028571</td>\n",
       "      <td>-0.028571</td>\n",
       "      <td>-11.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1870</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.518519</td>\n",
       "      <td>0.746835</td>\n",
       "      <td>0.657534</td>\n",
       "      <td>0.507246</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.166667</td>\n",
       "      <td>0.666667</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>16.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1871</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.567901</td>\n",
       "      <td>0.379747</td>\n",
       "      <td>0.630137</td>\n",
       "      <td>0.724638</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.555556</td>\n",
       "      <td>-0.083333</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-5.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1872</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.407407</td>\n",
       "      <td>0.329114</td>\n",
       "      <td>0.657534</td>\n",
       "      <td>0.768116</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.416667</td>\n",
       "      <td>-0.750000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.138889</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1873</th>\n",
       "      <td>H</td>\n",
       "      <td>0.481481</td>\n",
       "      <td>0.607595</td>\n",
       "      <td>0.739726</td>\n",
       "      <td>0.405797</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.416667</td>\n",
       "      <td>0.555556</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>0.222222</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1874</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.444444</td>\n",
       "      <td>0.417722</td>\n",
       "      <td>0.821918</td>\n",
       "      <td>0.666667</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.666667</td>\n",
       "      <td>-0.361111</td>\n",
       "      <td>-0.083333</td>\n",
       "      <td>-0.194444</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1875</th>\n",
       "      <td>H</td>\n",
       "      <td>0.481481</td>\n",
       "      <td>0.696203</td>\n",
       "      <td>0.602740</td>\n",
       "      <td>0.724638</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.138889</td>\n",
       "      <td>0.138889</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>7.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1876</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.851852</td>\n",
       "      <td>0.620253</td>\n",
       "      <td>0.369863</td>\n",
       "      <td>0.550725</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1.166667</td>\n",
       "      <td>0.305556</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.166667</td>\n",
       "      <td>-6.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1877</th>\n",
       "      <td>H</td>\n",
       "      <td>0.876543</td>\n",
       "      <td>0.493671</td>\n",
       "      <td>0.493151</td>\n",
       "      <td>0.884058</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.972222</td>\n",
       "      <td>-0.611111</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>0.111111</td>\n",
       "      <td>-13.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1878</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.814815</td>\n",
       "      <td>0.544304</td>\n",
       "      <td>0.465753</td>\n",
       "      <td>0.637681</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.888889</td>\n",
       "      <td>-0.027778</td>\n",
       "      <td>-0.083333</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-15.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1879</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.320988</td>\n",
       "      <td>0.493671</td>\n",
       "      <td>0.726027</td>\n",
       "      <td>0.637681</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.750000</td>\n",
       "      <td>-0.138889</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.111111</td>\n",
       "      <td>7.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1880</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.617284</td>\n",
       "      <td>0.544304</td>\n",
       "      <td>0.534247</td>\n",
       "      <td>0.724638</td>\n",
       "      <td>0.027027</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.297297</td>\n",
       "      <td>-0.189189</td>\n",
       "      <td>0.027027</td>\n",
       "      <td>0.135135</td>\n",
       "      <td>-11.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1881</th>\n",
       "      <td>H</td>\n",
       "      <td>0.481481</td>\n",
       "      <td>0.468354</td>\n",
       "      <td>0.917808</td>\n",
       "      <td>0.884058</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.027027</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.756757</td>\n",
       "      <td>-0.648649</td>\n",
       "      <td>-0.027027</td>\n",
       "      <td>0.027027</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1882</th>\n",
       "      <td>H</td>\n",
       "      <td>0.592593</td>\n",
       "      <td>0.379747</td>\n",
       "      <td>0.410959</td>\n",
       "      <td>0.724638</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.486486</td>\n",
       "      <td>-0.540541</td>\n",
       "      <td>-0.081081</td>\n",
       "      <td>-0.162162</td>\n",
       "      <td>12.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1883</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.370370</td>\n",
       "      <td>0.518987</td>\n",
       "      <td>0.684932</td>\n",
       "      <td>0.782609</td>\n",
       "      <td>0.027027</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.540541</td>\n",
       "      <td>-0.351351</td>\n",
       "      <td>-0.054054</td>\n",
       "      <td>-0.108108</td>\n",
       "      <td>-5.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1884</th>\n",
       "      <td>H</td>\n",
       "      <td>0.679012</td>\n",
       "      <td>0.417722</td>\n",
       "      <td>0.726027</td>\n",
       "      <td>0.710145</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.054054</td>\n",
       "      <td>-0.432432</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.054054</td>\n",
       "      <td>-15.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1885</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.530864</td>\n",
       "      <td>0.582278</td>\n",
       "      <td>0.589041</td>\n",
       "      <td>0.695652</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.054054</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.054054</td>\n",
       "      <td>9.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1886</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.753086</td>\n",
       "      <td>0.848101</td>\n",
       "      <td>0.493151</td>\n",
       "      <td>0.507246</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>0.027027</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.675676</td>\n",
       "      <td>0.864865</td>\n",
       "      <td>0.054054</td>\n",
       "      <td>-0.054054</td>\n",
       "      <td>-1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1887</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.543210</td>\n",
       "      <td>0.974684</td>\n",
       "      <td>0.602740</td>\n",
       "      <td>0.521739</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.108108</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.054054</td>\n",
       "      <td>13.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1888</th>\n",
       "      <td>H</td>\n",
       "      <td>0.419753</td>\n",
       "      <td>0.886076</td>\n",
       "      <td>0.643836</td>\n",
       "      <td>0.405797</td>\n",
       "      <td>0.027027</td>\n",
       "      <td>0.027027</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.351351</td>\n",
       "      <td>1.135135</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.081081</td>\n",
       "      <td>17.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1889</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.827160</td>\n",
       "      <td>0.379747</td>\n",
       "      <td>0.479452</td>\n",
       "      <td>0.724638</td>\n",
       "      <td>0.027027</td>\n",
       "      <td>0.027027</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.864865</td>\n",
       "      <td>-0.540541</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-10.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2630</th>\n",
       "      <td>H</td>\n",
       "      <td>0.493827</td>\n",
       "      <td>0.759494</td>\n",
       "      <td>0.945205</td>\n",
       "      <td>0.579710</td>\n",
       "      <td>0.027778</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.805556</td>\n",
       "      <td>0.555556</td>\n",
       "      <td>0.027778</td>\n",
       "      <td>-0.111111</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2631</th>\n",
       "      <td>H</td>\n",
       "      <td>0.839506</td>\n",
       "      <td>0.645570</td>\n",
       "      <td>0.575342</td>\n",
       "      <td>0.391304</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.722222</td>\n",
       "      <td>0.666667</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>0.111111</td>\n",
       "      <td>-3.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2632</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.876543</td>\n",
       "      <td>0.493671</td>\n",
       "      <td>0.575342</td>\n",
       "      <td>0.666667</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.805556</td>\n",
       "      <td>-0.194444</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>0.222222</td>\n",
       "      <td>2.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2633</th>\n",
       "      <td>H</td>\n",
       "      <td>0.925926</td>\n",
       "      <td>0.329114</td>\n",
       "      <td>0.397260</td>\n",
       "      <td>0.652174</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>0.027778</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1.277778</td>\n",
       "      <td>-0.527778</td>\n",
       "      <td>0.055556</td>\n",
       "      <td>0.194444</td>\n",
       "      <td>-8.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2634</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.481481</td>\n",
       "      <td>0.860759</td>\n",
       "      <td>0.630137</td>\n",
       "      <td>0.608696</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>D</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.194444</td>\n",
       "      <td>0.722222</td>\n",
       "      <td>-0.083333</td>\n",
       "      <td>-0.277778</td>\n",
       "      <td>4.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2635</th>\n",
       "      <td>H</td>\n",
       "      <td>0.740741</td>\n",
       "      <td>0.468354</td>\n",
       "      <td>0.547945</td>\n",
       "      <td>0.840580</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.555556</td>\n",
       "      <td>-0.583333</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.138889</td>\n",
       "      <td>-2.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2636</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.506173</td>\n",
       "      <td>0.949367</td>\n",
       "      <td>0.616438</td>\n",
       "      <td>0.420290</td>\n",
       "      <td>0.027778</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.111111</td>\n",
       "      <td>1.277778</td>\n",
       "      <td>-0.055556</td>\n",
       "      <td>-0.305556</td>\n",
       "      <td>4.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2637</th>\n",
       "      <td>H</td>\n",
       "      <td>0.617284</td>\n",
       "      <td>0.443038</td>\n",
       "      <td>0.863014</td>\n",
       "      <td>0.710145</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.361111</td>\n",
       "      <td>-0.388889</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-2.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2638</th>\n",
       "      <td>H</td>\n",
       "      <td>0.864198</td>\n",
       "      <td>0.569620</td>\n",
       "      <td>0.506849</td>\n",
       "      <td>0.782609</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>D</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.916667</td>\n",
       "      <td>-0.250000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.111111</td>\n",
       "      <td>3.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2639</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.320988</td>\n",
       "      <td>0.493671</td>\n",
       "      <td>0.616438</td>\n",
       "      <td>0.666667</td>\n",
       "      <td>0.027778</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.527778</td>\n",
       "      <td>-0.194444</td>\n",
       "      <td>0.027778</td>\n",
       "      <td>0.083333</td>\n",
       "      <td>12.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2640</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.481481</td>\n",
       "      <td>0.911392</td>\n",
       "      <td>0.712329</td>\n",
       "      <td>0.623188</td>\n",
       "      <td>0.027027</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>D</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.351351</td>\n",
       "      <td>0.783784</td>\n",
       "      <td>-0.054054</td>\n",
       "      <td>-0.189189</td>\n",
       "      <td>7.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2641</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.345679</td>\n",
       "      <td>0.518987</td>\n",
       "      <td>0.849315</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.918919</td>\n",
       "      <td>-0.756757</td>\n",
       "      <td>-0.081081</td>\n",
       "      <td>-0.081081</td>\n",
       "      <td>5.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2642</th>\n",
       "      <td>H</td>\n",
       "      <td>0.567901</td>\n",
       "      <td>0.455696</td>\n",
       "      <td>0.835616</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.405405</td>\n",
       "      <td>-0.891892</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-3.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2643</th>\n",
       "      <td>H</td>\n",
       "      <td>0.901235</td>\n",
       "      <td>0.658228</td>\n",
       "      <td>0.328767</td>\n",
       "      <td>0.420290</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1.324324</td>\n",
       "      <td>0.621622</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>0.189189</td>\n",
       "      <td>-2.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2644</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.555556</td>\n",
       "      <td>0.898734</td>\n",
       "      <td>0.808219</td>\n",
       "      <td>0.608696</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>0.027027</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>D</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.378378</td>\n",
       "      <td>0.783784</td>\n",
       "      <td>0.054054</td>\n",
       "      <td>-0.027027</td>\n",
       "      <td>-1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2645</th>\n",
       "      <td>H</td>\n",
       "      <td>0.938272</td>\n",
       "      <td>0.468354</td>\n",
       "      <td>0.397260</td>\n",
       "      <td>0.855072</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1.270270</td>\n",
       "      <td>-0.594595</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>0.243243</td>\n",
       "      <td>-3.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2646</th>\n",
       "      <td>H</td>\n",
       "      <td>0.888889</td>\n",
       "      <td>0.354430</td>\n",
       "      <td>0.589041</td>\n",
       "      <td>0.898551</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.783784</td>\n",
       "      <td>-0.918919</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>0.216216</td>\n",
       "      <td>-15.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2647</th>\n",
       "      <td>H</td>\n",
       "      <td>0.888889</td>\n",
       "      <td>0.518987</td>\n",
       "      <td>0.520548</td>\n",
       "      <td>0.666667</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0.918919</td>\n",
       "      <td>-0.135135</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>0.270270</td>\n",
       "      <td>-10.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2648</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.506173</td>\n",
       "      <td>0.658228</td>\n",
       "      <td>0.643836</td>\n",
       "      <td>0.420290</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.162162</td>\n",
       "      <td>0.621622</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>1.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2649</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.567901</td>\n",
       "      <td>0.924051</td>\n",
       "      <td>0.767123</td>\n",
       "      <td>0.347826</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.081081</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.270270</td>\n",
       "      <td>1.324324</td>\n",
       "      <td>-0.081081</td>\n",
       "      <td>-0.135135</td>\n",
       "      <td>-2.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2650</th>\n",
       "      <td>H</td>\n",
       "      <td>0.913580</td>\n",
       "      <td>0.772152</td>\n",
       "      <td>0.589041</td>\n",
       "      <td>0.594203</td>\n",
       "      <td>0.078947</td>\n",
       "      <td>0.078947</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.815789</td>\n",
       "      <td>0.526316</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.131579</td>\n",
       "      <td>-9.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2651</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.469136</td>\n",
       "      <td>0.569620</td>\n",
       "      <td>0.726027</td>\n",
       "      <td>0.913043</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.394737</td>\n",
       "      <td>-0.473684</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>-0.052632</td>\n",
       "      <td>11.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2652</th>\n",
       "      <td>H</td>\n",
       "      <td>0.987654</td>\n",
       "      <td>0.354430</td>\n",
       "      <td>0.438356</td>\n",
       "      <td>0.927536</td>\n",
       "      <td>0.078947</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1.263158</td>\n",
       "      <td>-0.947368</td>\n",
       "      <td>0.078947</td>\n",
       "      <td>0.315789</td>\n",
       "      <td>-7.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2653</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.444444</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>1.000000</td>\n",
       "      <td>0.362319</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.078947</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>D</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.973684</td>\n",
       "      <td>1.421053</td>\n",
       "      <td>-0.078947</td>\n",
       "      <td>-0.210526</td>\n",
       "      <td>15.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2654</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.580247</td>\n",
       "      <td>0.683544</td>\n",
       "      <td>0.849315</td>\n",
       "      <td>0.956522</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.078947</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.394737</td>\n",
       "      <td>-0.315789</td>\n",
       "      <td>-0.078947</td>\n",
       "      <td>-0.105263</td>\n",
       "      <td>-15.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2655</th>\n",
       "      <td>H</td>\n",
       "      <td>0.925926</td>\n",
       "      <td>0.341772</td>\n",
       "      <td>0.575342</td>\n",
       "      <td>0.724638</td>\n",
       "      <td>0.078947</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.868421</td>\n",
       "      <td>-0.605263</td>\n",
       "      <td>0.078947</td>\n",
       "      <td>0.157895</td>\n",
       "      <td>-10.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2656</th>\n",
       "      <td>H</td>\n",
       "      <td>0.641975</td>\n",
       "      <td>0.632911</td>\n",
       "      <td>0.397260</td>\n",
       "      <td>0.884058</td>\n",
       "      <td>0.026316</td>\n",
       "      <td>0.078947</td>\n",
       "      <td>D</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.605263</td>\n",
       "      <td>-0.289474</td>\n",
       "      <td>-0.052632</td>\n",
       "      <td>-0.078947</td>\n",
       "      <td>-10.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2657</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.506173</td>\n",
       "      <td>0.506329</td>\n",
       "      <td>0.643836</td>\n",
       "      <td>0.811594</td>\n",
       "      <td>0.026316</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>D</td>\n",
       "      <td>W</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.157895</td>\n",
       "      <td>-0.421053</td>\n",
       "      <td>0.026316</td>\n",
       "      <td>0.026316</td>\n",
       "      <td>-3.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2658</th>\n",
       "      <td>H</td>\n",
       "      <td>0.530864</td>\n",
       "      <td>0.531646</td>\n",
       "      <td>0.945205</td>\n",
       "      <td>0.710145</td>\n",
       "      <td>0.078947</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>W</td>\n",
       "      <td>W</td>\n",
       "      <td>D</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.684211</td>\n",
       "      <td>-0.184211</td>\n",
       "      <td>0.078947</td>\n",
       "      <td>0.236842</td>\n",
       "      <td>-2.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2659</th>\n",
       "      <td>NH</td>\n",
       "      <td>0.493827</td>\n",
       "      <td>0.949367</td>\n",
       "      <td>0.863014</td>\n",
       "      <td>0.565217</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.078947</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>-0.605263</td>\n",
       "      <td>0.947368</td>\n",
       "      <td>-0.078947</td>\n",
       "      <td>-0.289474</td>\n",
       "      <td>9.0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>800 rows × 30 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "     FTR      HTGS      ATGS      HTGC      ATGC       HTP       ATP HM1 HM2  \\\n",
       "1860   H  0.444444  0.455696  0.739726  0.826087  0.000000  0.000000   L   W   \n",
       "1861   H  0.580247  0.481013  0.506849  0.855072  0.000000  0.028571   L   D   \n",
       "1862  NH  0.728395  0.405063  0.465753  0.666667  0.000000  0.028571   L   L   \n",
       "1863   H  0.345679  0.594937  0.684932  0.376812  0.085714  0.028571   W   D   \n",
       "1864   H  0.506173  0.493671  0.602740  0.608696  0.085714  0.028571   W   L   \n",
       "1865   H  0.518519  0.329114  0.575342  0.753623  0.028571  0.000000   D   L   \n",
       "1866   H  0.839506  0.531646  0.369863  0.681159  0.085714  0.000000   W   D   \n",
       "1867  NH  0.679012  0.886076  0.671233  0.521739  0.028571  0.085714   D   W   \n",
       "1868  NH  0.395062  0.835443  0.616438  0.478261  0.085714  0.085714   W   W   \n",
       "1869   H  0.320988  0.531646  0.657534  0.608696  0.000000  0.028571   L   W   \n",
       "1870  NH  0.518519  0.746835  0.657534  0.507246  0.000000  0.000000   L   L   \n",
       "1871  NH  0.567901  0.379747  0.630137  0.724638  0.000000  0.083333   L   W   \n",
       "1872  NH  0.407407  0.329114  0.657534  0.768116  0.000000  0.000000   L   W   \n",
       "1873   H  0.481481  0.607595  0.739726  0.405797  0.083333  0.000000   W   L   \n",
       "1874  NH  0.444444  0.417722  0.821918  0.666667  0.000000  0.083333   L   L   \n",
       "1875   H  0.481481  0.696203  0.602740  0.724638  0.000000  0.000000   L   D   \n",
       "1876  NH  0.851852  0.620253  0.369863  0.550725  0.083333  0.083333   W   W   \n",
       "1877   H  0.876543  0.493671  0.493151  0.884058  0.083333  0.000000   W   W   \n",
       "1878  NH  0.814815  0.544304  0.465753  0.637681  0.000000  0.083333   L   W   \n",
       "1879  NH  0.320988  0.493671  0.726027  0.637681  0.000000  0.000000   L   L   \n",
       "1880  NH  0.617284  0.544304  0.534247  0.724638  0.027027  0.000000   D   W   \n",
       "1881   H  0.481481  0.468354  0.917808  0.884058  0.000000  0.027027   L   L   \n",
       "1882   H  0.592593  0.379747  0.410959  0.724638  0.000000  0.081081   L   L   \n",
       "1883  NH  0.370370  0.518987  0.684932  0.782609  0.027027  0.081081   D   W   \n",
       "1884   H  0.679012  0.417722  0.726027  0.710145  0.000000  0.000000   L   L   \n",
       "1885  NH  0.530864  0.582278  0.589041  0.695652  0.000000  0.000000   L   W   \n",
       "1886  NH  0.753086  0.848101  0.493151  0.507246  0.081081  0.027027   W   L   \n",
       "1887  NH  0.543210  0.974684  0.602740  0.521739  0.081081  0.081081   W   W   \n",
       "1888   H  0.419753  0.886076  0.643836  0.405797  0.027027  0.027027   D   W   \n",
       "1889  NH  0.827160  0.379747  0.479452  0.724638  0.027027  0.027027   D   L   \n",
       "...   ..       ...       ...       ...       ...       ...       ...  ..  ..   \n",
       "2630   H  0.493827  0.759494  0.945205  0.579710  0.027778  0.000000   D   W   \n",
       "2631   H  0.839506  0.645570  0.575342  0.391304  0.083333  0.000000   W   W   \n",
       "2632  NH  0.876543  0.493671  0.575342  0.666667  0.083333  0.000000   W   L   \n",
       "2633   H  0.925926  0.329114  0.397260  0.652174  0.083333  0.027778   W   W   \n",
       "2634  NH  0.481481  0.860759  0.630137  0.608696  0.000000  0.083333   L   D   \n",
       "2635   H  0.740741  0.468354  0.547945  0.840580  0.000000  0.000000   L   D   \n",
       "2636  NH  0.506173  0.949367  0.616438  0.420290  0.027778  0.083333   D   L   \n",
       "2637   H  0.617284  0.443038  0.863014  0.710145  0.083333  0.083333   W   W   \n",
       "2638   H  0.864198  0.569620  0.506849  0.782609  0.083333  0.083333   W   D   \n",
       "2639  NH  0.320988  0.493671  0.616438  0.666667  0.027778  0.000000   D   W   \n",
       "2640  NH  0.481481  0.911392  0.712329  0.623188  0.027027  0.081081   D   D   \n",
       "2641  NH  0.345679  0.518987  0.849315  1.000000  0.000000  0.081081   L   W   \n",
       "2642   H  0.567901  0.455696  0.835616  1.000000  0.000000  0.000000   L   L   \n",
       "2643   H  0.901235  0.658228  0.328767  0.420290  0.081081  0.000000   W   L   \n",
       "2644  NH  0.555556  0.898734  0.808219  0.608696  0.081081  0.027027   W   D   \n",
       "2645   H  0.938272  0.468354  0.397260  0.855072  0.081081  0.000000   W   W   \n",
       "2646   H  0.888889  0.354430  0.589041  0.898551  0.081081  0.000000   W   W   \n",
       "2647   H  0.888889  0.518987  0.520548  0.666667  0.081081  0.000000   W   W   \n",
       "2648  NH  0.506173  0.658228  0.643836  0.420290  0.081081  0.000000   W   L   \n",
       "2649  NH  0.567901  0.924051  0.767123  0.347826  0.000000  0.081081   L   W   \n",
       "2650   H  0.913580  0.772152  0.589041  0.594203  0.078947  0.078947   W   W   \n",
       "2651  NH  0.469136  0.569620  0.726027  0.913043  0.000000  0.000000   L   D   \n",
       "2652   H  0.987654  0.354430  0.438356  0.927536  0.078947  0.000000   W   W   \n",
       "2653  NH  0.444444  1.000000  1.000000  0.362319  0.000000  0.078947   L   L   \n",
       "2654  NH  0.580247  0.683544  0.849315  0.956522  0.000000  0.078947   L   L   \n",
       "2655   H  0.925926  0.341772  0.575342  0.724638  0.078947  0.000000   W   D   \n",
       "2656   H  0.641975  0.632911  0.397260  0.884058  0.026316  0.078947   D   L   \n",
       "2657  NH  0.506173  0.506329  0.643836  0.811594  0.026316  0.000000   D   W   \n",
       "2658   H  0.530864  0.531646  0.945205  0.710145  0.078947  0.000000   W   W   \n",
       "2659  NH  0.493827  0.949367  0.863014  0.565217  0.000000  0.078947   L   L   \n",
       "\n",
       "     HM3   ...   HTLossStreak5 ATWinStreak3 ATWinStreak5 ATLossStreak3  \\\n",
       "1860   W   ...               0            0            0             1   \n",
       "1861   W   ...               0            0            0             0   \n",
       "1862   W   ...               0            0            0             1   \n",
       "1863   L   ...               0            0            0             0   \n",
       "1864   D   ...               0            0            0             0   \n",
       "1865   D   ...               0            0            0             0   \n",
       "1866   W   ...               0            1            0             0   \n",
       "1867   L   ...               0            0            0             0   \n",
       "1868   L   ...               0            1            0             0   \n",
       "1869   D   ...               0            0            0             0   \n",
       "1870   L   ...               0            0            0             0   \n",
       "1871   W   ...               0            0            0             0   \n",
       "1872   W   ...               0            0            0             0   \n",
       "1873   W   ...               0            0            0             0   \n",
       "1874   L   ...               1            0            0             0   \n",
       "1875   W   ...               0            0            0             0   \n",
       "1876   D   ...               0            0            0             0   \n",
       "1877   W   ...               0            0            0             0   \n",
       "1878   D   ...               0            0            0             0   \n",
       "1879   L   ...               0            0            0             0   \n",
       "1880   L   ...               0            0            0             0   \n",
       "1881   D   ...               0            0            0             1   \n",
       "1882   D   ...               0            0            0             0   \n",
       "1883   W   ...               0            0            0             0   \n",
       "1884   D   ...               0            0            0             0   \n",
       "1885   D   ...               0            0            0             0   \n",
       "1886   L   ...               0            0            0             0   \n",
       "1887   W   ...               0            0            0             0   \n",
       "1888   D   ...               0            0            0             0   \n",
       "1889   W   ...               0            0            0             0   \n",
       "...   ..   ...             ...          ...          ...           ...   \n",
       "2630   L   ...               0            0            0             0   \n",
       "2631   L   ...               0            0            0             0   \n",
       "2632   W   ...               0            0            0             0   \n",
       "2633   W   ...               0            0            0             0   \n",
       "2634   D   ...               0            0            0             0   \n",
       "2635   W   ...               0            0            0             0   \n",
       "2636   L   ...               0            0            0             0   \n",
       "2637   L   ...               0            0            0             0   \n",
       "2638   D   ...               0            0            0             0   \n",
       "2639   L   ...               0            0            0             0   \n",
       "2640   L   ...               0            0            0             0   \n",
       "2641   L   ...               0            0            0             0   \n",
       "2642   L   ...               0            0            0             0   \n",
       "2643   W   ...               0            0            0             0   \n",
       "2644   D   ...               0            0            0             0   \n",
       "2645   W   ...               0            0            0             0   \n",
       "2646   W   ...               0            0            0             0   \n",
       "2647   D   ...               0            0            0             1   \n",
       "2648   D   ...               0            0            0             0   \n",
       "2649   W   ...               0            1            0             0   \n",
       "2650   W   ...               0            0            0             0   \n",
       "2651   W   ...               0            0            0             0   \n",
       "2652   W   ...               0            0            0             0   \n",
       "2653   D   ...               0            0            0             0   \n",
       "2654   W   ...               0            0            0             0   \n",
       "2655   W   ...               0            0            0             0   \n",
       "2656   L   ...               0            0            0             0   \n",
       "2657   L   ...               0            0            0             0   \n",
       "2658   D   ...               0            0            0             0   \n",
       "2659   L   ...               1            0            0             0   \n",
       "\n",
       "     ATLossStreak5      HTGD      ATGD   DiffPts  DiffFormPts  DiffLP  \n",
       "1860             1 -0.514286 -0.600000  0.000000     0.342857     0.0  \n",
       "1861             0  0.285714 -0.600000 -0.028571    -0.028571   -11.0  \n",
       "1862             0  0.714286 -0.400000 -0.028571     0.142857   -16.0  \n",
       "1863             0 -0.628571  0.600000  0.057143     0.000000    -5.0  \n",
       "1864             0 -0.085714 -0.085714  0.057143     0.142857     7.0  \n",
       "1865             0  0.000000 -0.742857  0.028571     0.114286    -1.0  \n",
       "1866             0  1.171429 -0.142857  0.085714     0.114286   -17.0  \n",
       "1867             0  0.171429  0.971429 -0.057143    -0.028571    -1.0  \n",
       "1868             0 -0.371429  0.942857  0.000000    -0.200000    16.0  \n",
       "1869             0 -0.628571  0.000000 -0.028571    -0.028571   -11.0  \n",
       "1870             0 -0.166667  0.666667  0.000000     0.000000    16.0  \n",
       "1871             0  0.000000 -0.555556 -0.083333     0.000000    -5.0  \n",
       "1872             0 -0.416667 -0.750000  0.000000     0.138889     1.0  \n",
       "1873             0 -0.416667  0.555556  0.083333     0.222222     0.0  \n",
       "1874             0 -0.666667 -0.361111 -0.083333    -0.194444     0.0  \n",
       "1875             0 -0.138889  0.138889  0.000000     0.000000     7.0  \n",
       "1876             0  1.166667  0.305556  0.000000     0.166667    -6.0  \n",
       "1877             0  0.972222 -0.611111  0.083333     0.111111   -13.0  \n",
       "1878             0  0.888889 -0.027778 -0.083333     0.000000   -15.0  \n",
       "1879             0 -0.750000 -0.138889  0.000000    -0.111111     7.0  \n",
       "1880             0  0.297297 -0.189189  0.027027     0.135135   -11.0  \n",
       "1881             0 -0.756757 -0.648649 -0.027027     0.027027     0.0  \n",
       "1882             0  0.486486 -0.540541 -0.081081    -0.162162    12.0  \n",
       "1883             0 -0.540541 -0.351351 -0.054054    -0.108108    -5.0  \n",
       "1884             0  0.054054 -0.432432  0.000000    -0.054054   -15.0  \n",
       "1885             0  0.000000 -0.054054  0.000000    -0.054054     9.0  \n",
       "1886             0  0.675676  0.864865  0.054054    -0.054054    -1.0  \n",
       "1887             0  0.000000  1.108108  0.000000    -0.054054    13.0  \n",
       "1888             0 -0.351351  1.135135  0.000000    -0.081081    17.0  \n",
       "1889             0  0.864865 -0.540541  0.000000     0.000000   -10.0  \n",
       "...            ...       ...       ...       ...          ...     ...  \n",
       "2630             0 -0.805556  0.555556  0.027778    -0.111111     1.0  \n",
       "2631             0  0.722222  0.666667  0.083333     0.111111    -3.0  \n",
       "2632             0  0.805556 -0.194444  0.083333     0.222222     2.0  \n",
       "2633             0  1.277778 -0.527778  0.055556     0.194444    -8.0  \n",
       "2634             0 -0.194444  0.722222 -0.083333    -0.277778     4.0  \n",
       "2635             0  0.555556 -0.583333  0.000000     0.138889    -2.0  \n",
       "2636             0 -0.111111  1.277778 -0.055556    -0.305556     4.0  \n",
       "2637             0 -0.361111 -0.388889  0.000000     0.000000    -2.0  \n",
       "2638             0  0.916667 -0.250000  0.000000     0.111111     3.0  \n",
       "2639             0 -0.527778 -0.194444  0.027778     0.083333    12.0  \n",
       "2640             0 -0.351351  0.783784 -0.054054    -0.189189     7.0  \n",
       "2641             0 -0.918919 -0.756757 -0.081081    -0.081081     5.0  \n",
       "2642             0 -0.405405 -0.891892  0.000000     0.000000    -3.0  \n",
       "2643             0  1.324324  0.621622  0.081081     0.189189    -2.0  \n",
       "2644             0 -0.378378  0.783784  0.054054    -0.027027    -1.0  \n",
       "2645             0  1.270270 -0.594595  0.081081     0.243243    -3.0  \n",
       "2646             0  0.783784 -0.918919  0.081081     0.216216   -15.0  \n",
       "2647             0  0.918919 -0.135135  0.081081     0.270270   -10.0  \n",
       "2648             0 -0.162162  0.621622  0.081081     0.000000     1.0  \n",
       "2649             0 -0.270270  1.324324 -0.081081    -0.135135    -2.0  \n",
       "2650             0  0.815789  0.526316  0.000000     0.131579    -9.0  \n",
       "2651             0 -0.394737 -0.473684  0.000000    -0.052632    11.0  \n",
       "2652             0  1.263158 -0.947368  0.078947     0.315789    -7.0  \n",
       "2653             0 -0.973684  1.421053 -0.078947    -0.210526    15.0  \n",
       "2654             0 -0.394737 -0.315789 -0.078947    -0.105263   -15.0  \n",
       "2655             0  0.868421 -0.605263  0.078947     0.157895   -10.0  \n",
       "2656             0  0.605263 -0.289474 -0.052632    -0.078947   -10.0  \n",
       "2657             0 -0.157895 -0.421053  0.026316     0.026316    -3.0  \n",
       "2658             0 -0.684211 -0.184211  0.078947     0.236842    -2.0  \n",
       "2659             0 -0.605263  0.947368 -0.078947    -0.289474     9.0  \n",
       "\n",
       "[800 rows x 30 columns]"
      ]
     },
     "execution_count": 359,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "playing_stat_test"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 360,
   "metadata": {},
   "outputs": [],
   "source": [
    "playing_stat=playing_stat[:1860]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 361,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "(1860, 30)"
      ]
     },
     "execution_count": 361,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "playing_stat.shape"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 362,
   "metadata": {},
   "outputs": [],
   "source": [
    "playing_stat.to_csv(loc + \"final_dataset.csv\",index=None)\n",
    "playing_stat_test.to_csv(loc+\"test.csv\",index=None)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "req_cols=[\"FTR\",\"HTP\",\"ATP\",\"HM1\",\"HM2\",\"HM3\",\"AM1\",\"AM2\",\"AM3\",\"HTGD\",\"ATGD\",\"DiffFormPts\",\"DiffLP\"]\n",
    "playing_stat=playing_stat[req_cols]\n",
    "playing_stat_test=playing_stat_test[req_cols]"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.4"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
